Hi all
I have a web page with an <iframe> called: myiframe
This frame contains a <div> called: mydiv
In a javascript function, I try to scrolldown the <div> like this:
This piece of code works fine with Internet Explorer. But with FireFox, the 2nd lines generates "sometimes" an error (everything is blocked, pending).
Someone has an idea ??
Thanks for your help
I have a web page with an <iframe> called: myiframe
This frame contains a <div> called: mydiv
In a javascript function, I try to scrolldown the <div> like this:
Code:
oDiv = window.frames["myiframe"].document.getElementById("mydiv");
oDiv.scrollTop = oDiv.scrollHeight - oDiv.clientHeight;
Someone has an idea ??
Thanks for your help