一、 延长作用域链有些语句可以在作用域前端临时增加一个变量对象,该变量对象在代码执行完成后会被移除。①with语句延长作用域。function buildUrl(){var qs="?debug=true"; with(location){ var url=href+qs; } return...
分类:
编程语言 时间:
2014-07-09 23:11:22
阅读次数:
304
微软近期Open的职位:Title: Principal DEV Manager for Bing ClientGroup: Search Technology Center Asia, BingWork Location: Beijing/Suzhou, China Group OverviewS...
分类:
其他好文 时间:
2014-07-09 23:02:03
阅读次数:
247
首先介绍两个方法的语法:reload方法,该方法强迫浏览器刷新当前页面。语法:location.reload([bForceGet])参数:bForceGet, 可选参数, 默认为 false,从客户端缓存里取当前页。 true, 则以GET方式,从服务端取最新的页面, 相当于客户端点击 F5("刷...
Versions版本控制工具破解版(Versions.zip)下载请见本博文附件。下载后在MAC安装完以后,图标是莲花状。见下图:双击运行如下图: 点击Repository,连接SVN服务器Repository(服务器端采用的是SVN服务端),见下图: 输入所需值,如下图:Location 值要与....
分类:
移动开发 时间:
2014-07-09 00:52:34
阅读次数:
323
2014-07-05 17:11:20.594 SevenStars[2185:60b] nested push animation can result in corrupted navigation bar
2014-07-05 17:11:21.005 SevenStars[2185:60b] Finishing up a navigation transition in an unexp...
分类:
其他好文 时间:
2014-07-06 12:31:20
阅读次数:
198
1、判断字符串是否包含某个字符
if( [str rangeOfString:@"hello"].location != NSNotFound) {
NSLog(@"yes");
} else {
NSLog(@...
分类:
移动开发 时间:
2014-07-06 11:18:41
阅读次数:
226
Structs2 Result学习笔记(一)简单介绍
问题一
/r1.jsp
/r2.jsp
r1
r2
dispatcher - forward运用服务器跳转...
分类:
Web程序 时间:
2014-07-06 10:54:13
阅读次数:
177
Result学习笔记(二) - 动态结果集
动态结果 一定不要忘了为动态结果的保存值设置set get方法
第一部分:代码
//前端
Insert title here
返回success
返回error
//web.xml
${r}
/...
分类:
Web程序 时间:
2014-07-06 09:29:19
阅读次数:
243
Result学习笔记(三)带参数的结果集
第一部分:代码
//前端
Insert title here
传参数
//web.xml
/user_success.jsp?t=${type}
//类包
package com.struts2.user.act...
分类:
Web程序 时间:
2014-07-06 08:26:27
阅读次数:
222
环境:VS2010
微软官方解释:
Visual C++ Concepts: Building a C/C++ ProgramCompiler Warning (level 1) C4627Error Message
”: skipped when looking for precompiled header use
While searching for the location w...
分类:
其他好文 时间:
2014-07-06 08:22:37
阅读次数:
169