I'm trying to scroll to the top of a parent page from within an iFrame, but its not in the same domain. It throws an "Unsafe JavaScript Attempt" when I try to do it with JavaScript. Is there a workaround?
The solution will be found using the easyxdm libraries from http://easyxdm.net/wp/ to send the instruction to the parent.
Sorry I don't have the exact code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.