js使网页Session永久有效
<script type="text/javascript"> var counter; counter = 0; function KeepSessionAlive() { counter++; $.post("你的地址"+counter); } setInterval(KeepSessionAlive, 60000); </script>
<script type="text/javascript"> var counter; counter = 0; function KeepSessionAlive() { counter++; $.post("你的地址"+counter); } setInterval(KeepSessionAlive, 60000); </script>
<script language="javascript" type="text/javascript"> &nbs...
var xmlHttpfunction showCustomer(str){ xmlHttp=GetXmlHttpObject();if (xmlHttp==null) { alert ("Y...
function random(min, max) { &n...
有时候一些项目中会使用类似如下的方式覆盖掉console对象:var console = {}; console.log = function(){}; console.info&nbs...