当前位置: 代码迷 >> Web前端 >> iframe 运用技巧
  详细解决方案

iframe 运用技巧

热度:479   发布时间:2012-06-26 10:04:13.0
iframe 使用技巧

<div style="width:100%; height:100%;">

<iframe style="width: 100%;height:96%;margin:0px;padding:0px;" scrolling="auto" ?frameborder="0" name="u_target" style="width:100%;height:100%;" src="" id="test"></iframe>

</div>

?

?

验证码如何动态的生成

?

function changeImage() {
         //要添加一个url 动态改变的值这样可以对IE8兼容和一些安全兼容
	  var img = document.getElementById('validation_img');
	  img.src = "${pageContext.request.contextPath}/jqueryResource/img.jsp" + new Date().getMilliseconds();
  }

同理用Jquery 也一样
?
  相关解决方案