返回上一页并且刷新: location.href=document.referrer; document对象的referrer属性,返回导航到当前网页的超链接所在网页的URL。
分类:
编程语言 时间:
2014-08-07 19:29:00
阅读次数:
238
//name:参数名称,return:有则返回该参数对应值,没有则返回nullfunction GetQueryStr(name){ var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.sear....
分类:
其他好文 时间:
2014-08-07 12:23:59
阅读次数:
457
1、windows下nginx查看并发链接数要使用stable版本2、配置代码:location /status { stub_status on; }3、访问地址:http://localhost/status最开始用的mainLine版本,网上看了很多配置教程,都测试不通过(配置没问题)但...
如题: 使用web.config的configuration/location节点. 在configuration节点内新建一个location节点,注意这个节点和system.webserver那些是平级节点 然后使用location/@path 来指定某个单独的文件,这个文件可以是as...
分类:
Web程序 时间:
2014-08-06 18:18:01
阅读次数:
243
Android提供了GPS功能LocationManager obj = (LocationManager)getSystemService(Context.LOCATION_SERVICE)Permission基本上是使用百度地图定位
分类:
移动开发 时间:
2014-08-06 14:41:11
阅读次数:
211
通过判断访问来源来实现。$fromurl="http://www.111.com/index.php"; //只能从这个地址访问if( $_SERVER['HTTP_REFERER'] != $fromurl ){ header("Location:".$fromurl); exit;}不好...
分类:
Web程序 时间:
2014-08-06 11:49:21
阅读次数:
308
有如下选项,分别含义如下:CenterParent 窗体在其父窗体中居中。CenterScreen 窗体在当前显示窗口中居中,其尺寸在窗体大小中指定。Manual 窗体的位置由Location属性确定。WindowsDefaultBou...
I want to detect where a MouseEvent has
occurred, in coordinates relative to the clicked element. Why? Because I want to add an absolutely positioned child element
at the clicked location.
I kn...
分类:
Web程序 时间:
2014-08-05 11:09:29
阅读次数:
293
Techniques are presented that include determining, for data to be written to a nonvolatile memory, a location in the nonvolatile memory to which the d...
分类:
其他好文 时间:
2014-08-05 00:27:08
阅读次数:
408
/*** * 获得根目录 * @returns */function getRootPath() { var strFullPath = window.document.location.href; var strPath = window.document.location.pathn...
分类:
Web程序 时间:
2014-08-04 21:17:07
阅读次数:
262