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
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
2 matches
Mail list logo