跨域问题
Uncaught SecurityError: Blocked a frame with origin “http://click.youku.com” from accessing a frame with origin “http://index.youku.com”. The frame requesting access set “document.domain” to “youku.com”, but the frame being accessed did not. Both must set “document.domain” to the same value to allow access.
还是跨域问题,父页面和子页面没有明确指出在同一个域下
在子页面中加入如下代码,显示声明:
<script> document.domain='youku.com'; </script>