摘要:
转载:http://www.cnblogs.com/shitianzeng/articles/2318999.html 一般情况下,使用Ajax提交的参数多是些简单的字符串,可以直接使用GET方法将要提交的参数写到open方法的url参数中,此时send方法的参数为null。 例如 : var ur 阅读全文
摘要:
jsp页面引入外部的标签<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 会报错,错误提示为: Can not find the tag library descriptor for "http://Java.sun.co 阅读全文
摘要:
检测对象中属性的存在与否可以通过几种方法来判断。 1.使用in关键字该方法可以判断对象的自有属性和继承来的属性是否存在。 代码如下: var o={x:1}; "x" in o; //true,自有属性存在 "y" in o; //false "toString" in o; //true,是一个继 阅读全文