[jQuery] Checked input box
Hi,
the problem is the following:
When the html standards were very transitional, a syntax like <input type="checkbox" value="1" checked> was used for having the checkbox checked. For xhtml conformity, checked="checked" is nowadays used only to avoid parsing errors.
That means, checked="blabla" and checked="false" will always result in a checked checkbox.
The javascript attribute DOMelement.checked, which is a boolean, will set the checked state correctly but will not alter the original html checked attribute.
Hopefully this helps ^^
Paul<br clear="all">
--
Paul Bakaus
Web Developer
------------------------
Hildastr. 35
79102 Freiburg
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/