用xmlhttp﹐參考﹕
http://www.csdn.com.cn/html/040531/2004414475486890.html
http://www.csdn.com.cn/html/040531/2004414475486890.html
解决方案 »
- 关于Jquery的添加事件问题 求解
- js倒计时 如何加 毫秒
- 如何在赋给控件的outerHTML属性时候执行outerHTML内包含有<script>内的脚本
- 为什么全是-1(急,立即结贴)
- button的onclick()后,说fString没有定义,我明明定义了啊?
- 请教 关于同名CHECKBOX和RADIO的值的合并
- 如何动态改变Img标签的Src属性?
- 关于网页浏览的问题
- WEB页面打印问题?????????
- 好多問題呀?幫我呀!
- 有2个checkbox,怎样才能做到 至多只能选中一个checkbox?谢谢
- 请问怎样把javascript中的数组传递到同一个页面的session里面去
前提,同域。<script>
function getimg() {
event.returnValue=false;
show.window.location.href=event.srcElement.src;
timer=setInterval(checkload,100)
}
function checkload(){
if(show.readyState!="complete")
{show.document.execCommand("SaveAs");
clearInterval(timer)}
}</script>
<img src="csdn.gif" oncontextmenu="getimg()">
<img src="aspplus2.gif" oncontextmenu="getimg()">
<iframe src="" name=show style="width:0;height:0"></iframe>