Thanks for this very informative article.
I need to call keydown event on iframe but whatever eventlistener i attache to the iframe, its calling the function on load of iframe only. My code is:
fullIframe.contentWindow.document.attachEvent("onkeydown",myfunc());
but myfunc() is getting called when my page is loading. Can you help??
Problem in calling events other than onload
Thanks for this very informative article.
I need to call keydown event on iframe but whatever eventlistener i attache to the iframe, its calling the function on load of iframe only. My code is:
fullIframe.contentWindow.document.attachEvent("onkeydown",myfunc());
but myfunc() is getting called when my page is loading. Can you help??