It's a question of syntactic nicety to be honest. It would be quite
nice to say var foo = $('#something'), then use native DOM methods and
properties as well as jQuery wrappers on the variable foo rather than
having to have separate interfaces for native DOM stuff and jQuery
methods.

98% of the time, I want to use jQuery methods. The other 2% I want native DOM.

So:
foo = $("#something");

98%:
foo.jQuerymethod();

other 2%:
foo[0].nativeDom;

Just not sure what you're going for exactly? There's not another way to get what you want.

-- Josh

Reply via email to