1、在页面中载入新页面:location.assgin(""); location.replace();后者会删除以前的页面记录location.reload();//重新载入当前页面location="#middle";//滚动到文档的相应位置2、window的history history.b....
$.post("/login",data,function(resultData){ var result = eval(eval("("+resultData+")")); if(result==1){ window.location.href="/index.j...
分类:
Web程序 时间:
2014-09-16 20:21:10
阅读次数:
269
重载当前页面。但是,重载后,一些$_GET或者$_POST $_REQUEST 表单提交的数据会清空。重新加载当前页面的资源,就是刷新本页面
分类:
编程语言 时间:
2014-09-16 15:28:30
阅读次数:
175
"Help" -> "Install New Software..." -> "Add..."Location:http://download.eclipse.org/technology/m2e/releases/1.2/1.2.0.20120903-1050该link获得方法:浏览网址http:...
分类:
系统相关 时间:
2014-09-16 10:31:20
阅读次数:
275
1.document.write(""); 输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5...
分类:
Web程序 时间:
2014-09-16 09:15:10
阅读次数:
295
$("#addfav").click(function() { var ua = navigator.userAgent.toLowerCase(), url =location.href, sitename =document.title; if(ua.indexOf("msi...
分类:
其他好文 时间:
2014-09-15 19:29:39
阅读次数:
141
如果基于WEB根目录下,要禁止用户访问/config目录,或者要禁止用户访问/config.ini(ZF常用INI,不过建议还是放到WEB目录以外的地方),可以通过location进行配置,返回403或者404等location = /config/ { return 404; } locatio....
分类:
其他好文 时间:
2014-09-15 17:33:59
阅读次数:
168
php和nginx的配置server{ root html; listen 80; server_name a.com; index index.php index.html ; location ~ \.php$ { fastcgi_pass 127.0....
分类:
Web程序 时间:
2014-09-15 12:41:28
阅读次数:
178
DevExpress.XtraGrid.Views.Grid.ViewInfo.GridHitInfo vi =gridView1.CalcHitInfo(e.Location);if (vi.InRow&&e.Button == MouseButtons.Right){ cmsFBF.Sh...
分类:
其他好文 时间:
2014-09-15 12:38:28
阅读次数:
198
++(a++) a++相当于int a;{int temp=a;a++;teturn temp;}所以我们可以将++(a++)看成++temp;而temp显然是一个右值,所以不能用啊~~ L-value中的L指的是Location,表示可寻址。The "l" in lvalue can be tho...
分类:
编程语言 时间:
2014-09-14 23:35:27
阅读次数:
227