Hi Charlie,
If you check your code, you'll see that you're not quoting your stateName value,
hence the html code for your North Carolina option looks like this.
option value=North CarolinaNC/option
what you want though, is to use quotes with the value so the output looks like
this
option
you shouldn't use .length on a jQuery object, since that always
returns 1 afaik.
Use .size() instead. If your alert then still reports 1 you've
selected the table
correctly using jQuery, else you have to check your id.
also your example implies, that the serverIdPrefix is not used. Check
Hi,
i think this is a short way to do it, altough i haven't tested it
myself.
$(a.showHide).click(function() {
$(# + $(this).attr('rel')).toggle();
});
It uses the rel attribute of the anchor to find the DIV-Node, and using
the toggle method, the div is either hidden or displayed,
Hi Thomas,
you could compare the count of all available checkboxes
with all checked once.
That would look something like this:
$(form#form1).submit(function() {
var total = $(#form1 [EMAIL PROTECTED]'checkbox']).size()
var checked = $(#form1 [EMAIL
4 matches
Mail list logo