[jQuery] Re: Binding Event to Dynamically Created Element (works in FF but not in IE)

2008-06-22 Thread Ariel Flesler
Why don't you use jQuery for that ? var $li = $('').attr('id', 'li_' + this.nextCount).attr('class','bigbox_li'); -- Ariel Flesler http://flesler.blogspot.com On 22 jun, 03:52, "James Chen" <[EMAIL PROTECTED]> wrote: > I think this is the culprit... > > i guess known issue with setAttribute tha

[jQuery] Re: Binding Event to Dynamically Created Element (works in FF but not in IE)

2008-06-22 Thread James Chen
I think this is the culprit... i guess known issue with setAttribute that I didn't know about... id, class and like 20+ other attributes are reserved words thus doesn't work in IE7... although it looks like it's working... but it's not. There are lots of work arounds out there, i hope I can chan

[jQuery] Re: Binding Event to Dynamically Created Element (works in FF but not in IE)

2008-06-21 Thread Rene Veerman
I'm missing the appendChild() method in loadElements() On Sat, Jun 21, 2008 at 10:22 AM, MysteryNerd <[EMAIL PROTECTED]> wrote: > > I'm in the process of converting standard javascript code to jQuery, > it has already save tons of lines of code and make it more > manageable. I'm a bit stumped t