Hello everyone.
For some strange reason, whenever I try to get the onload event of any iframe in an HTA, I get "null" as a response. I've tried altering everything I can think of, but nothing has worked!
Any ideas on how to fix this?
For some strange reason, whenever I try to get the onload event of any iframe in an HTA, I get "null" as a response. I've tried altering everything I can think of, but nothing has worked!
Any ideas on how to fix this?
Code:
<iframe src="[URL unfurl="true"]http://google.com"[/URL] application=yes onload="alert()"></iframe>
<script>
function doit()
{
alert(window.frames[0].onload)
}
</script>
<button onclick="doit()">blah</button>