原始碼裡面,iframe 需要給id (id="myiframe"),就可以使用myiframe.contentWindow.postMessage('test', ''); 傳送到iframe (child) 頁面。
確定! 回上一頁