img刷新的问题 可能是你没有改变大小,图片的src变了,left,height等没有变,所以你看不出来!试一下是不是这个原因! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你把 chgmapsrc 函数改改,自己再调试一下,应该没问题的<div id="mapframe" style="position:absolute;left:9px;top:24px;height:362px;width:482px;overflow:hidden;background-color:#99FFFF;layer-background-color:#99FFFF;border:1px #339933 solid"> <img id="imgmap" GALLERYIMG="false" style="position:relative;left:0px;top:0px;height:360px;width:480px;cursor:default"> </div> <script>function chgmapsrc(querystring){ var locationrul; //locatinourl="&oldx="+document.all.oldx.value+"&oldy="+document.all.oldy.value+"&oldzoom="+document.all.oldzoom.value document.all.imgmap.src=querystring; //mapserviceurl+"?"+querystring+locatinourl}</script><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>图片地址:<input name=imgsrc size=50 value="http://expert.csdn.net/images/csdn.gif"><input type=button onclick=chgmapsrc(imgsrc.value) value=确定><br> 谢谢gooddot(飞影)的解答,可是我得问题还是没有解决当img的src发生变化时,即img的src以前没有出现过的情况下,会向服务器重新请求,得到新的img,我的问题是当我调用chgmapsrc函数时,第一次会向服务器请求刷新img,但是当我以后在调用chgmapsrc时,由于以前已经请求过该地址,img便不会向服务器请求刷新img,我怎么样实现每次调用chgmapsrc函数,即使img的src相同,浏览器也会向服务器发出请求重新刷新img JS确定删除问题 正则表达式 转义了不需要转义的字符,好像也没出错,为什么 name 与id的区别 php 获取视频文件播放时长 请教js如何判断DIV的实际高度 同一页面,放置2个同一JS冲突,求助。。。 这段滚动代码在谷歌、360浏览器、搜狗浏览器都不能滚动 问个简单的问题 100分,动态生成html中插入一个li标签问题 关于keymap的用法 <input name="ahiddenfield" type="hidden" value="why">的疑惑 能不能用JavaScript动态修改表单的属性?
<img id="imgmap" GALLERYIMG="false" style="position:relative;left:0px;top:0px;height:360px;width:480px;cursor:default">
</div>
<script>
function chgmapsrc(querystring){
var locationrul;
//locatinourl="&oldx="+document.all.oldx.value+"&oldy="+document.all.oldy.value+"&oldzoom="+document.all.oldzoom.value
document.all.imgmap.src=querystring; //mapserviceurl+"?"+querystring+locatinourl
}
</script>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
图片地址:<input name=imgsrc size=50 value="http://expert.csdn.net/images/csdn.gif"><input type=button onclick=chgmapsrc(imgsrc.value) value=确定><br>
当img的src发生变化时,即img的src以前没有出现过的情况下,会向服务器重新请求,得到新的img,我的问题是当我调用chgmapsrc函数时,第一次会向服务器请求刷新img,但是当我以后在调用chgmapsrc时,由于以前已经请求过该地址,img便不会向服务器请求刷新img,我怎么样实现每次调用chgmapsrc函数,即使img的src相同,浏览器也会向服务器发出请求重新刷新img