摘要: javaScript 页面加载 windonw.onload = function(){ alert("js页面加载"); } jQuery 页面加载 //标签选择器 $("标签名") $(document).ready(function (){ // alert("jQuery页面加载"); // 阅读全文
posted @ 2017-09-13 10:02 毫无代价 阅读(156) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <script> var time; function init(){ //获取div里面的东西 time=setInterval("show()",3000); setInterval("show1()",3000); } var num= 阅读全文
posted @ 2017-09-09 23:06 毫无代价 阅读(1536) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <script > var time; function init(){ //设置定时操作 time=setInterval("show()",0); //3秒执行一次 setInterval("show1()",1000); } var n 阅读全文
posted @ 2017-09-09 23:05 毫无代价 阅读(266) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> window.onload = function() { //获取表 var tb = document.getElementById("tabl 阅读全文
posted @ 2017-09-09 23:00 毫无代价 阅读(269) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> // 定义二维数组: var arr = new Array(4); arr[0] = new Array("哈尔滨","齐齐哈尔","大庆"," 阅读全文
posted @ 2017-09-09 22:57 毫无代价 阅读(339) 评论(0) 推荐(1) 编辑
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> function selectAll(num){ //获取下面的四个复选框 var res = document.getElementsByCla 阅读全文
posted @ 2017-09-09 22:52 毫无代价 阅读(242) 评论(0) 推荐(0) 编辑
摘要: protected(是类内部,同一个包,就是同一个包里才可以访问) public(同一个包,类里,包外都可以访问) private(只在本类可以访问) final(修饰的变量不能被改变) static() 阅读全文
posted @ 2017-09-02 19:57 毫无代价 阅读(127) 评论(0) 推荐(0) 编辑