类型 js中的变量是没有类型的,只有值才有类型,变量可以随时接受任何类型。例如: undefind 和 undeclared 在js中,已在作用域声明但还没赋值的变量,是undefined。相反还没在作用域中声明过的变量是undeclared 需要特别注意的是如果用typeof undeclared ...
分类:
其他好文 时间:
2016-11-01 13:42:14
阅读次数:
140
在MVC的Web应用程序中,我们经常会出现这样的操作,从一个视图跳转到另外一个视图,大部分情况下都是通过链接来实现,当然这是一种非常不错的选择,为什么不说这是最好的选择呢?因为它也有其弊端,我们看看如下: 当我们点击这个链接时,Home则对应的是控制器,Index则对应的是Action方法,并发出此 ...
分类:
Web程序 时间:
2016-11-01 09:53:11
阅读次数:
254
今天在网上看到一篇帖子,如题: 在ES5中一共有9个Array方法,分别是: 1) indexOf indexOf()方法返回在该数组中第一个找到的元素位置,如果它不存在则返回-1。 via不使用indexOf时原文来自:http://caibaojian.com/5-array-methods.h ...
分类:
编程语言 时间:
2016-11-01 01:25:36
阅读次数:
362
java.util.concurrent包 接口及相关类的继承关系: Executor |-ExecutorService <- ThreadPoolExecutor |-ScheduledExecutorService <- ScheduledThreadPoolExecutor 由于Thread ...
分类:
编程语言 时间:
2016-11-01 01:15:57
阅读次数:
188
1.配置wamp网站地址: 找到wamp的安装目录,如~\wamp\bin\apache\Apache2.4.4\conf\extra\httpd-vhosts.conf 打开httpd-vhosts.conf文件 其中有默认的样例: <VirtualHost *:80> ServerAdmin w ...
分类:
其他好文 时间:
2016-10-31 21:58:39
阅读次数:
131
本文实例为大家讲解了jQuery $.ajax()方法参数,供大家参考,具体内容如下 $.ajax({ url:'test.do', data:{id:123,name:'xiaoming'}, type:'post', dataType:'json', success:function(data) ...
分类:
Web程序 时间:
2016-10-31 21:55:05
阅读次数:
229
Android 利用反射找到包下面所有的类 Android下其实有一个DexFile的东西,利用它我们可以很好的找到包下面所有的类 什么是DexFile? 官方的说明是这样的: Manipulates DEX files. The class is similar in principle to Z ...
分类:
移动开发 时间:
2016-10-31 18:35:27
阅读次数:
193
1、Highcharts 2、ECharts 3、ichartjs 参考: http://v1.hcharts.cn/index.php http://echarts.baidu.com/ http://www.ichartjs.com/ ...
分类:
Web程序 时间:
2016-10-31 13:55:21
阅读次数:
210
#__author__ = 'Joker'# -*- coding:utf-8 -*-import urllibimport osimport os.pathimport zipfilefrom zipfile import *import sysreload(sys)sys.setdefaulte ...
分类:
编程语言 时间:
2016-10-30 22:07:13
阅读次数:
531