Re: [jQuery] JQuery IE7 and document.ready

2007-02-11 Thread Agrawal, Ritesh
/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/JQuery-IE7-and-document.ready-tf3207782.html#a8910213 Sent from the JQuery mailing list archive at Nabble.com

Re: [jQuery] JQuery IE7 and document.ready

2007-02-11 Thread Mike Alsup
I will try to narrate the actual scenario. I have a list of buttons on my home page. When a user clicks on one of the button, it loads a list (select option). Any selection made on the list loads another div (again using ajax) and I use jquery to load the second div. This all works as

[jQuery] JQuery IE7 and document.ready

2007-02-10 Thread Ritesh Agrawal
Hi, I am new to JQuery. I have tried few ajax features of jquery and they all work beautifully on firefox. But when I try them on IE7, they fail. The problem is with ajax and jquery. I load a div using ajax load function. The contents of the div also include some new jquery script to controller

Re: [jQuery] JQuery IE7 and document.ready

2007-02-10 Thread Matt Stith
$(document).ready wont work in pages loaded via AJAX, try something like this: script... document.ready(... $('button').click( $('#load_div').load(..some url.,function(response) { //..whatever you need to be done after the load }); });

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Brian Miller
Yes, $(document).ready() should only happen once - when the document is first ready. What you're using for magic would infuriate developers on most other projects! :) You should have a separate function for an ajax callback to do whatever you're doing, even if it's the same code, and you're

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Mike Alsup
Can you post a test page because that sure doesn't happen for me. Mike Ok then jQuery is broken ;) $(document).ready() fires each time i load new ajax content in both FF and IE (lower than 7) ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Brandon Aaron
$(document).ready() will immediately fire functions passed in after the $(document).ready() function has already been called. Or at least that is what the code says it should do. -- Brandon Aaron On 10/10/06, Mike Alsup [EMAIL PROTECTED] wrote: Can you post a test page because that sure

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Webunity | Gilles van den Hoven
Mike Alsup wrote: Can you post a test page because that sure doesn't happen for me. Mike I've tracked down the problem to IE7 in standalone mode. I am almost certain that that is the problem. It sometimes just keeps hanging on (1 item remaining) and thus not firing the $(document).ready()

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Jörn Zaefferer
Brandon Aaron schrieb: $(document).ready() will immediately fire functions passed in after the $(document).ready() function has already been called. Or at least that is what the code says it should do. Good point. Maybe this should be added to the documentation for the ready event. --

[jQuery] IE7 and document.ready

2006-10-09 Thread Webunity | Gilles van den Hoven
Hi Guys, Just found another document.ready bug at least i hope it is a bug :) The document.ready is not firing in IE7 when loading content via ajax into a DIV. Is this a common problem which is allready known? Someone might have a fix for this? The current scenario fires succesfully in both

Re: [jQuery] IE7 and document.ready

2006-10-09 Thread Jörn Zaefferer
Webunity | Gilles van den Hoven schrieb: Hi Guys, Just found another document.ready bug at least i hope it is a bug :) The document.ready is not firing in IE7 when loading content via ajax into a DIV. Is this a common problem which is allready known? Someone might have a fix for this?