I cannot get scroll to work, here is the complete stuff:
I'm trying to refresh the page while maintaining the scroll position of the iframe inside.
I'd like to have an alert when I actively scroll the iframe, these two both fail:
The page's iframe is defined as:
<iframe class="inframe" src="bucin.php" name="bucin" id="iframe_bucinid">
Notice that getting the scrollTop works with
I had success (Chrome and Firefox) in doing what you're asking using the following code:
The key difference between your code and mine being the
Be sure to test this thoroughly though, you might run into problems in some browsers due to silly implementations of same origin policy.