服務器端生成<%if ..... thenresponse.write "<iframe name=frame1 src=xxx.html width=0 height=0>"end ifif ..... thenresponse.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 ifif ... thenstr=str&"<iframe name=frame2 src=xxx.html width=0 height=0>"end if生成IFRMAEdocument.all("div1").innerhtml=str給IFRAME里面的表單控件賦值。document.all("frame1").document.all("xxx").value=xxx提交時document.all("frame1").form1.submit()document.all("frame2").form1.submit()</script>以上方法說明了一個思路,沒有經過驗證,請自行驗證。
新聞熱點
疑難解答