摘要:
javaScript 页面加载 windonw.onload = function(){ alert("js页面加载"); } jQuery 页面加载 //标签选择器 $("标签名") $(document).ready(function (){ // alert("jQuery页面加载"); // 阅读全文
摘要:
<!DOCTYPE html><html> <head> <script> var time; function init(){ //获取div里面的东西 time=setInterval("show()",3000); setInterval("show1()",3000); } var num= 阅读全文
摘要:
<!DOCTYPE html><html> <head> <script > var time; function init(){ //设置定时操作 time=setInterval("show()",0); //3秒执行一次 setInterval("show1()",1000); } var n 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> window.onload = function() { //获取表 var tb = document.getElementById("tabl 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> // 定义二维数组: var arr = new Array(4); arr[0] = new Array("哈尔滨","齐齐哈尔","大庆"," 阅读全文
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <script> function selectAll(num){ //获取下面的四个复选框 var res = document.getElementsByCla 阅读全文