[jQuery] Re: Click function only invoked after second click in IE6 & IE7

2008-09-26 Thread RLR
I did not fully realize the issue with the duplication of the ids from Thomas first post... Now I understand and have a working example to base my code on. Thank you very much for your help Richardo and Thomas.

[jQuery] Re: Click function only invoked after second click in IE6 & IE7

2008-09-25 Thread ricardobeat
When you copy the content with jQuery('#content').html(content); you're still duplicating the #item1_content_info ID, that's the source of your problems. I took the liberty to duplicate your page and alter the script (working in IE): http://ff6600.org/j/toggle.htm or for a more semantic solution

[jQuery] Re: Click function only invoked after second click in IE6 & IE7

2008-09-25 Thread RLR
Thanks for the hint Thomas. I revised the code so that it validates correctly now. And I stripped it down to a minimalist version to show my point. Click item 1 -> toggle link appears click on toggle link (IE6/IE7 do not toggle the content whereas Safari & FF do on the first time) Click item 1 -

[jQuery] Re: Click function only invoked after second click in IE6 & IE7

2008-09-25 Thread thomas peklak
Your document contains multiple same ids (info, info_link). This is not valid (http://validator.w3.org/check?verbose=1&uri=http:// dev.dreimorgen.com/test.html). Please correct this first (use classes instead) and try again. For me this is working. Thomas