Hey there,
I hope I understand this right. Say you have a link with class mylink.
Once clicked you want to load mypage.php into a frame with id
testFrame.
After everything has loaded you would like to trigger an alert with
the message Hello.
This would look something like the code below:
$('a.mylink').click( function () {
$('#testFrame').load("mypage.php", function () {
alert ("Hello");
});
});
I hope this helps :)
Maybe you could look at the ajax function as well as it has callbacks
for success and error responses from the server. (
http://docs.jquery.com/Ajax/jQuery.ajax#options)
k