[jQuery] Re: Using jQuery in requested file by $.ajax

2009-04-27 Thread Kevin King
According to http://docs.jquery.com/Ajax/jQuery.ajax#options if datatype is = 'html', the script code will be evaluated when the ajax response is inserted into the DOM. So change your code to do more than an alert and you should be fine. -K2

[jQuery] Re: Using jQuery in requested file by $.ajax

2009-04-26 Thread Colonel
Anybody? On 26 апр, 03:37, Colonel wrote: > Is it possible ti use jQuery or JS in file which I get by $.ajax? > > For example, I have a file like this file.php: >  Some text ... >  Some text ... >  Some text ... >   >   - use JS ??? >   >  $("my_container").html("Some text ..."); - use