> I have to admit, I didn't understand that $.val() was limited to only input > elements, and I expected it to get the value of any element.
val() is confusing because of its hybrid nature. Only a few elements support the "value" attribute (input, option, button and param), but any object *could* have a value property, and some, most notably the select element, always do. And there are cross browser issues of course. For example, IE promotes a button's text to be its "value" but FF does not. Mike _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
