[jQuery] can not access elements' properties any more?
hi.
use $() to select elements, why its properties are not able to access anymore? for exsample: ( #f-name is an input element )
alert(document.getElementById("f-name").type);
alert($("#f-name").type);
line 2 will return undefined. perhaps it is jQuery's limited? IMHO, if line 2 can work, jQuery will be more powerful.<br clear="all">
--
<a href="http://realazy.org">realazy.org</a>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/