I agree with Mike here. In fact, now that I code with jQuery, I've started to
pay much more attention to my markup to see that it's correct -- or at least
that it works with jQuery. ;o)
Chris
Mike Alsup wrote:
that jQuery should iterate over form.elements if special form
selectors are
used because a lot of legacy code uses incorrectly placed form tags.
When jQuery is added to those legacy pages the developer should also
correct the form tags (and any other bogus markup). There is no point
trying to script on top of bad markup.
Mike
--
http://www.cjordan.us