David schrieb: > Mike Alsup schreef: >> Be careful with :input. It selects button elements too and resetting >> the button element's value to "" is probably not what you want to do. >> > To avoid this you could use the button tag.
No, the :input selector selects buttons as well, it is a shortcut for *all* kinds of form elements. -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
