I'm pretty sure

If I recall correctly, jQuery's element creation technique is to create 
a temporary div (var div = document.createElement('div')) then add the 
html you provided to that elements innerHTML value (div.innerHTML = 
html) and then extracting the div's children (using the appropriate DOM 
method) and appending it to the real document. Hope that helps.

-blair

Matthew Pennell wrote:
> I just can't tell if elements or innerHTML are being inserted. As I 
> understand it, markup that is added using innerHTML cannot be later 
> manipulated by DOM-methods, whereas as DOM inserted (using 
> .createElement and .appendChild) elements can be.
>
> Matthew.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to