$("#topofpage").click(function() {
$("#iframe_display").scrollTop();
});
This doesn’t work, it says ‘permission denied’. The URL must reside in the same domain for only scrollTop to work? Why is this? Is there any way around it?
How about using server side code using .load instead or something ?
because you cannot execute scripts on non-local domains to prevent the cross site scripting a.k.a XSS
have a look at same origin policy