主頁面main.php包含iframe如下:<iframe name="tt" id="tt" frameborder="0" scrolling="no" align="left" width="400" src="./test.php" height="400" marginheight="0" marginwidth="0"></iframe>
主頁面獲取iframe頁面的RUL地址,請問如何解決?我用在主頁面用<input type="button" name="Submit" value="送出" onClick="javascript:alert(document.frames['tt'].src)">系統提示:undefined
主頁面獲取iframe頁面的RUL地址,請問如何解決?我用在主頁面用<input type="button" name="Submit" value="送出" onClick="javascript:alert(document.frames['tt'].src)">系統提示:undefined
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货