jquery 使用get方式提交数据 ie8只会提交一次。由于缓存问题,提交的路径我添加的随机数,但还是只能提交一次。这该怎么解决??? jquery 使用get方式提交数据 ie8只会提交一次。由于缓存问题,提交的路径我添加的随机数,但还是只能提交一次。这该怎么解决??? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 试试看url = "xxx.xx?" + escape(new Date()) 使用post方式进行连续数据提交<script language="JavaScript">function ccc(){$.post("test.php", {Action: "post", Name: "lulu" }, function (data, textStatus){ $("div").html(data.name); }, "json"); }</script><input type="button" id="ccc" value="tijiao" onclick="ccc()">IE8的确问题多多,建议文件头加一句<meta http-equiv="X-UA-Compatible" content="IE=7" >强制网页以兼容IE7方式解析 function init(){var url="statServlet?"+Math.random();$.get(url,{ip:'<%=request.getRemoteHost()%>',website:escape(document.referrer),urlpage:this.location.href,agent:navigator.userAgent,random:Math.random()}); alert('success'); } $.get('<%=basePath%>setOptForEMAS.do?data=<%=new Date()%>",....我是这么弄得!暂时 没发现什么问题 $.ajaxSetup ({ cache: false //关闭AJAX相应的缓存}); SWFObject is undefined 未定义 使用JQUERY处理QQ农场传来的JSON对象问题。高手请进! 找js高手 js简单问题! js如何访问元素在级联样式表设置的样式 dojo grid 排序 大神帮忙看一下(dojox.grid.DataGrid) windows下javascript怎么和其他进程通讯阿? 请教一个javascript递归问题 小小问题~轻松拿分~ 在网页里如何屏蔽掉右键功能? 怎么用JS控制VML polyLine pt和px 的单位换算出了问题 为什么第一次载入网页显示的是 0 ?再次刷新网页才显示正确的像素值
url = "xxx.xx?" + escape(new Date())
<script language="JavaScript">
function ccc(){
$.post("test.php", {Action: "post", Name: "lulu" },
function (data, textStatus){
$("div").html(data.name);
}, "json");
}
</script><input type="button" id="ccc" value="tijiao" onclick="ccc()">
IE8的确问题多多,建议文件头加一句
<meta http-equiv="X-UA-Compatible" content="IE=7" >
强制网页以兼容IE7方式解析
var url="statServlet?"+Math.random();
$.get(url,{ip:'<%=request.getRemoteHost()%>',website:escape(document.referrer),urlpage:this.location.href,agent:navigator.userAgent,random:Math.random()});
alert('success');
}