> I'm trying to do the followind into a firefox 3 extension:
> alert($('<div id="content">abc</div>').html());
> and it always alerts "null" instead of "abc".

I don't think XUL supports the .innerHTML property, which
jQuery's .html() method depends on to serialize the DOM to a string.
In that example, of course, you *know* the html since you just created
it...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to