
Originally Posted by
mysterbx
i just need to know when this script is finished loaded, i mean script "loadit"
I don't think you really mean that. But if you do, it's easy:
Code:
function loadit() {
ajaxpage('test1.htm', 'contentarea1');
ajaxpage('test2.htm', 'contentarea2)';
ajaxpage('test3.htm', 'contentarea3');
}
alert('loadit loaded!');
I think you want to know when its work, or at least some aspect of its work has been completed. That's a whole different story which I addressed (to a degree) in my previous post.
Bookmarks