> Does $("<img>") use DOM methods (i.e. document.createElement) or
> innerHTML for creating elements?

It uses the same techniques as what's used in .append(), etc. Namely,
creating a temporary <div> element, inserting the html in the
innerHTML, then pulling the constructed DOM back out again.

So any valid HTML is fair game.

--John

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to