Monday, February 22, 2010

How do you scroll to the top within iframe?

I have tried:

parent.scroll(0,0);
window.scroll(0,0);
.
.
.


Finally I found a site that says:

window.parent.scroll(0,0);


That saved my day! Hope it works for you too!

No comments:

Post a Comment