首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

IE7如何改变这种写法

2012-02-22 
IE7怎么改变这种写法?imgsrc GetCode.asp alt 验证码,看不清楚?请点击刷新验证码 onclick this.s

IE7怎么改变这种写法?
<img   src= "GetCode.asp "   alt= "验证码,看不清楚?请点击刷新验证码 "   onclick= "this.src= 'GetCode.asp '; "     height= "21px "   align= "absbottom "   style= "cursor:pointer; "/>
这个在ie7中已经无效了
要是没有更好的解决办法我就要用到框架了.

[解决办法]
try:

onclick= "this.src= 'GetCode.asp? ' + Math.random(); "

热点排行