[jQuery] Re: append() not working on dynamically-created nodes in IE

2009-01-12 Thread Joe White
Yep, that was all it took. Thanks! On Jan 11, 3:43 pm, Karl Rudd karl.r...@gmail.com wrote: Try closing the tag, ie: $('#myDiv').append($('h2/h2')); Actually the second $() shouldn't be needed: $('#myDiv').append('h2/h2'); Karl Rudd On Mon, Jan 12, 2009 at 7:35 AM, Joe White

[jQuery] append() not working on dynamically-created nodes in IE

2009-01-11 Thread Joe White
I'm troubleshooting a problem where my text wasn't showing up in IE. I've narrowed the problem down to creating a DOM node dynamically (with $(html)) and then passing it to append(). In FireFox, append will add the node as expected; but when passed a dynamically-created node in IE, it does