摘要:
Math 对象用于执行数学任务。 1、使用 Math 的属性和方法的语法: 注释:Math 对象并不像 Date 和 String 那样是对象的类,因此没有构造函数 Math(),像 Math.sin() 这样的函数只是函数,不是某个对象的方法。您无需创建它,通过把 Math 作为对象使用就可以调用 阅读全文
摘要:
假如路径是这样的:www.domain.com/list/?menu=1 var locationUrl = location.search.substring(6); switch(locationUrl) { case "1": $(".zxdt").click(); break; case " 阅读全文