一、 延长作用域链有些语句可以在作用域前端临时增加一个变量对象,该变量对象在代码执行完成后会被移除。①with语句延长作用域。function buildUrl(){var qs="?debug=true"; with(location){ var url=href+qs; } return...
                            
                            
                                分类:
编程语言   时间:
2014-07-09 23:11:22   
                                阅读次数:
304
                             
                         
                    
                        
                            
                            
                                微软近期Open的职位:Job Title: Senior Engineering LeadDivision: Microsoft Business SolutionWork Location: Shanghai, ChinaThe Opportunity:Do you want to play a...
                            
                            
                                分类:
其他好文   时间:
2014-07-07 08:09:56   
                                阅读次数:
340
                             
                         
                    
                        
                            
                            
                                1:安装eclipse(不介绍)2:打开eclipse,然后 HELP->INSTALL NEW SOFTWARE->Add->LOCATION 输入以下网址:http://download.eclipse.org/tools/cdt/releases/galileopending后,把两个都打勾....
                            
                            
                                分类:
编程语言   时间:
2014-07-06 22:44:23   
                                阅读次数:
319
                             
                         
                    
                        
                            
                            
                                //_roaldSearchTextif([roadTitleLab.text rangeOfString:@"格力"].location !=NSNotFound) NSLog(@"yes");else NSLog(@"no");
                            
                            
                                分类:
移动开发   时间:
2014-07-06 21:52:19   
                                阅读次数:
253
                             
                         
                    
                        
                            
                            
                                示例html完整路径为:http://10.10.3.117:8500/html/ypt/index.htmlalert("document.location.href:"+document.location.href);描述:设置或返回主机名和当前URL的端口号结果:http://10.10.3....
                            
                            
                                分类:
其他好文   时间:
2014-07-06 19:55:58   
                                阅读次数:
639
                             
                         
                    
                        
                            
                            
                                微软近期Open的职位:Location: China, BeijingDivision: Operations System Group Engineering Group OverviewOSG is delivering flagship products in Microsoft. Chin...
                            
                            
                                分类:
移动开发   时间:
2014-07-06 16:18:51   
                                阅读次数:
307
                             
                         
                    
                        
                            
                            
                                微软近期Open的职位:Location: China, BeijingDivision: Operations System Group Engineering Group OverviewOSG is delivering flagship products in Microsoft. Chin...
                            
                            
                                分类:
移动开发   时间:
2014-07-06 13:39:38   
                                阅读次数:
283
                             
                         
                    
                        
                            
                            
                                1、判断字符串是否包含某个字符
        if( [str rangeOfString:@"hello"].location != NSNotFound) {
            
            NSLog(@"yes");
            
        } else {
            
            NSLog(@...
                            
                            
                                分类:
移动开发   时间:
2014-07-06 11:18:41   
                                阅读次数:
226
                             
                         
                    
                        
                            
                            
                                环境: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
                             
                         
                    
                        
                            
                            
                                页面刷新类型:1、window.location.reload刷新。window.location.reload()与window.location.href=window.location.href都可以刷新页面。注:window.location.reload()刷新页面时,页面若有数据提交会提示是否提交数据,就是我们经常看到的那个讨厌的提示框。window.location.h..