Load iframe completly.
Load iframe completly.
Hi.
I use this code for load an iframe:
$("#button_body").click(function ()
{
$("#KeyShotVR").html("<iframe id='teste1' name='nomeIframe' src='http:/meusite/teste/body.html' width=' 1023' height='575' frameborder='0'></iframe>")
})
This function corectly.
But I need to know when this iframe is completely loaded.
I try this:
$("#teste1").load( function (){
alert("ok");
});
But anything happens...
Any help?
Thanks
Topic Participants
alexandre_bisewski
anupam294
jakecigar