您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息
免费发信息
三六零分类信息网 > 阿坝分类信息网,免费分类信息发布

怎样实现动态加载iframe

2024/2/28 9:53:41发布16次查看
服务器端生成 <% 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 %> 客户端生成 <p id=p1></p> <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(p1).innerhtml=str 给iframe里面的表单控件赋值。 document.all(frame1).document.all(xxx).value=xxx 提交时 document.all(frame1).form1.submit() document.all(frame2).form1.submit() </script> 以上方法说明了一个思路,没有经过验证,请自行验证。
以上就是怎样实现动态加载iframe的详细内容。
阿坝分类信息网,免费分类信息发布

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录