1.js 代码: <SCRIPT LANGUAGE="JavaScript"> var time = 5; //时间,秒 var timelong = 0; function diplaytime(){ //时间递减 document.all.his.innerHTML = time -timelong ; timelong ++; } function redirect(){ //跳转页 //history.back(); window.location.href=&qu…
var zz = [1,2,3,5,5,7,8,6,6]; var se = []; d(se); function d(attr){ for(var i = 1;i<zz.length;i++){ if(se.indexOf(zz[i])<0){ se.push(zz[i]); } } document.write(se) }…
s(); function s (){ var mydate=new Date(); var y = mydate.getFullYear(); var m = mydate.getMonth(); var d = mydate.getDate(); var x = mydate.getHours() var f = mydate.getMinutes() var mm = mydate.getSeconds() document.write(y+"-"+(m+1)+"-&q…