動態(tài)加載iframe
更新時間:2006年06月16日 00:00:00 作者:
服務(wù)器端生成 <% if ..... then response.write "<iframe name=frame1 src=xxx.html width=0 height=0>" end if if ..... then response.write "<iframe name=frame2 src=xxx.html width=0 height=0>" end if %> 客戶端生成 <div id=div1></div> <script language=vbscript> if .... then str="<iframe name=frame1 src=xxx.html width=0 height=0>" end if if ... then str=str&"<iframe name=frame2 src=xxx.html width=0 height=0>" end if 生成IFRMAE document.all("div1").innerhtml=str 給IFRAME里面的表單控件賦值。 document.all("frame1").document.all("xxx").value=xxx 提交時 document.all("frame1").form1.submit() document.all("frame2").form1.submit() </script> 以上方法說明了一個思路,沒有經(jīng)過驗證,請自行驗證。
相關(guān)文章
PHP:微信小程序 微信支付服務(wù)端集成實例詳解及源碼下載
這篇文章主要介紹了微信小程序 微信支付服務(wù)端集成實例詳解及源碼下載的相關(guān)資料,需要的朋友可以參考下2017-01-01