On Wed, Feb 3, 2010 at 7:12 AM, Shinnuz wrote:
> Database works, but if you see div#result doesn't update with "prova3"...
> why? where i'm wrong?
I do believe your problem is you're creating the nation select AFTER
you've set the handler for the select. Move your declaration of
$('#sel_nazioni')
I'm trying to create a page where onchange of first select it appears a
second one (which values, readen from a database, depend on previous choise)
and on choise of second select results are show in a div.
Here some images:
Start:
http://img269.imageshack.us/i/senzanomejg.png/
http://img269.im
As long as it's working now kudos.
Regards.
Michel Belleville
2009/11/24 rjc
>
> I'm sorry Michel, I edited my last reply because I found the error of it
> not
> working was on my behalf.
>
> Michel Belleville wrote:
> >
> > Maybe the problem is somewhere else then. Strings have a .length whi
I'm sorry Michel, I edited my last reply because I found the error of it not
working was on my behalf.
Michel Belleville wrote:
>
> Maybe the problem is somewhere else then. Strings have a .length which is
> the number of characters in them, .val() gets the value of the first
> element
> selecte
Maybe the problem is somewhere else then. Strings have a .length which is
the number of characters in them, .val() gets the value of the first element
selected (input, texarea, select, etc.) and $(this) should only point to
your textarea when it's responding to the keyup event. Could you show the
u
I would have never thought to use val(), but this solution unfortunately did
not work
The value still remains as 1 ?
--
View this message in context:
http://old.nabble.com/update-div-with-textarea-length-tp26492474s27240p26492632.html
Sent from the jQuery General Discussion mailing list archive
Little confusion here indeed : jQuery wraps selected elements in a "magic
array" that keep them warm and ready to respond to any jQuery method, so
when you query $(this).length you're asking for jQuery's "magic array"'s
length, which is 1 (1 element inside).
If you want to get the length of the st
Hi, i'm updating a div with the length of a textarea.
$().ready(function(){
$("#formElement_profileTeamProfile").keyup(function() {
var newText = $(this).length;
$('#countCharTeamProfile').html(newText);
});
});
Every time i ent
I am using the jquery.form.js script and submit a form just fine.
My Question is how can update an additional div after the form is sumbitted.
Example
title here => might say something like Edit you Green Earth Post
Page content code.
form.
So the form loads in , submit and f
Hello Everyone,
I am looking to see if I should switch to jQuery but first need to
find jQuery's equivalent to Prototype JS's Ajax.Updater; new
Ajax.Updater("id", url, {method: 'post', parameters: pars});
Ajax.Updater allows you to simply update the content of a DIV.
ps.
I did find his plugin
Hi all, i wanted to update a div, depending on a click in my menu.
I get both alert test-messages in both browserswith the right text,
but AFTER the second alert in Firefox it goes wrong.
The original content dissapears, but Instead of placing the new
content, inside my content div,
the original c
How update multiple div by ajax from php?
12 matches
Mail list logo