[jQuery] Re: Check $.load ajax request is complete

2009-04-22 Thread Colonel
I know it. But how I can get content from remote file by $.ajax? For example I have some file temp.php: Test file Some text in div header id =" . $id . ""; echo "number = " . $number . ""; ?> Some text in header2 ... and Am using $.ajax: $.ajax({url: 'temp.php', cache:

[jQuery] Re: Check $.load ajax request is complete

2009-04-22 Thread James
I suggest using the $.ajax() function instead of $.load() as it'll provide you more options, including success, error and complete (after success and error callbacks are executed) http://docs.jquery.com/Ajax/jQuery.ajax#options On Apr 22, 11:49 am, Colonel wrote: > Is the there way to check aja