[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-10-01 Thread kennydee
is a patch is planed for this problem and the new one i mentionned above ? On 27 sep, 16:38, Emil Ivanov <[EMAIL PROTECTED]> wrote: > Isn't it possible just to wrap the script in a function and call it in > the callback of the ajax call? Or I'm getting it wrong? > > Regards, > Emil Ivanov

[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-09-27 Thread Emil Ivanov
Isn't it possible just to wrap the script in a function and call it in the callback of the ajax call? Or I'm getting it wrong? Regards, Emil Ivanov

[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-09-27 Thread kennydee
This ticket have an attached patch, if you're interested in, witch correct this issue but create another one ... http://dev.jquery.com/ticket/1698

[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-09-25 Thread benjam
No, I used the 'places the scripts at the end of the inserted HTML' method that I didn't want to use. It works, but this may be something that the developers will want to tweak. Thanks for all your suggestions though. On Sep 21, 4:18 am, Andy <[EMAIL PROTECTED]> wrote: > Benjam, > > Did you ha

[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-09-21 Thread Andy
Benjam, Did you have any luck resolving this issue other than using the setTimeout method? thanks. On Sep 17, 11:20 pm, benjam <[EMAIL PROTECTED]> wrote: > I have a script that runs a clickable calendar date field, and this > script is being called in a form that is passed through AJAX. > > Wh

[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-09-18 Thread John Resig
That would fire right away, as well - since the document is already loaded - this document fragment, however, is not loaded, which is what he wants to wait for. --John On 9/18/07, Collin Allen <[EMAIL PROTECTED]> wrote: > > Could you possibly put a $(document).ready(function(){ ... }); inside >

[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-09-18 Thread Collin Allen
Could you possibly put a $(document).ready(function(){ ... }); inside the script for the "incoming" page, or does that fire right away, too? On Sep 18, 5:46 am, "John Resig" <[EMAIL PROTECTED]> wrote: > There was another issue who was having the same problem as you, with > 1.2.1, I recommend doi

[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-09-18 Thread John Resig
There was another issue who was having the same problem as you, with 1.2.1, I recommend doing this inside your , at least until I can get a fix in.