function callIframe(url, callback) {
$(document.body).append('<IFRAME id="myId" ...>');
$('iframe#myId').attr('src', url);
$('iframe#myId').load(function()
{
callback(this);
});
}
转载于:https://www.cnblogs.com/ForFreeDom/archive/2010/05/11/1732458.html