原api出处:https://docs.angularjs.org/api/ngRoute/service/$routeParams$routeParams 可以获取当前路径参数.需要ngroute模块被安装。路径参数是$location.search()和$location.path()的组合. ...
在灾难恢复的试验中,遇到了一个IIS无法启动的情况,会报如下的错误:"The network location cannot be reached, xxxxxx"要知道,Windows报的这种弹窗错误,也只能通过Windows自带的事件管理器里查看了。直接运行:eventvwr,打开SYSTEM项...
分类:
其他好文 时间:
2014-07-19 20:15:55
阅读次数:
290
#import "ViewController.h"#import @interface ViewController () //这里为什么要把它设置成为属性?为了就是解决强引用的问题,如果不设置,locationManger会在花括号之后,就会释放掉,这样就看不到了我们想要的地址改变信息,arc情...
分类:
其他好文 时间:
2014-07-16 16:59:24
阅读次数:
240
想必大家都有过在地址栏传参的经历,这就会出现传中文乱码的问题,让大家头痛不已,下面就是解决这一问题的好方法。 function getArgs(strParame) { var args = new Object(); var query = location.search.s...
分类:
其他好文 时间:
2014-07-16 16:58:15
阅读次数:
161
当你的lnmp架构安装完成后,发现html页面可以打开,但php页面却无法打开,页面提示404 not found,如果确定配置过程不会有问题,可以从下面两个方法来查看1.nginx的server里面有添加对php的支持没有,如location / { root html; ...
分类:
Web程序 时间:
2014-07-16 16:54:44
阅读次数:
506
$('#submitgo').click(function(){ if($('#fillNum').val()!=''){ var u = location.href.toString(); if(u.indexOf('page') >=0){ var url=replaceParamVal('pa...
分类:
其他好文 时间:
2014-07-16 16:09:36
阅读次数:
162
*.location.href 用法:
top.location.href=”url” 在顶层页面打开url(跳出框架)
self.location.href=”url” 仅在本页面打开url地址
parent.location.href=”url” 在父窗口打开Url地址
this.location.href=”url” ...
分类:
其他好文 时间:
2014-07-16 14:30:03
阅读次数:
171
Catch That Cow
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 45087
Accepted: 14116
Description
Farmer John has been informed of the location of a fugitiv...
分类:
其他好文 时间:
2014-07-16 13:22:55
阅读次数:
233