[jQuery] Re: Calling a jQuery function from within an ajax-loaded div

2008-03-29 Thread Drake Aedus
Lets backtrack for a moment. I have a similar situation, but I don't use that particular plugin (its an older setup, recently modified with jQ). When you load the new div with your ajax call, add the sort to your success: function. For example, in your test case: $.ajax({ type: GET,

[jQuery] Re: Calling a jQuery function from within an ajax-loaded div

2008-03-28 Thread gf8si
You need to set the dataType option to script according to the docs... http://docs.jquery.com/Ajax/jQuery.ajax See the docs for the dataType options and the first example.

[jQuery] Re: Calling a jQuery function from within an ajax-loaded div

2008-03-28 Thread echobase
I think I may be getting closer and maybe getScript() is the answer. But I'm still not getting a some things Where and how would I use the getScript() function? I've looked for relevant examples but I can't find any that remotely fit my situation. If I have a page with this ajax function

[jQuery] Re: Calling a jQuery function from within an ajax-loaded div

2008-03-27 Thread jquertil
you want to ook into the getScript() function. the SCRIPT tags arent interpreted by jquery, so you have to load the script separately. On Mar 27, 4:10 pm, echobase [EMAIL PROTECTED] wrote: I'm loading a div using this .ajax function: $.ajax({     type: GET,     contentType: html,     url: