`
文章列表
//分页对象,按下面方式调用 //new PageManage().process(current_page, total_record_num, every_page_nums,func_name, page_display_num); //current_page为当前页号,total_record_num总记录数,every_page_nums每页数据记录数,func_name页面的提交表单函数名,//page_display_num页面显示的页码数 var PageManage = function() { }; PageManage.prototype = { process : ...

注册表单的校验

 
//注册校验 function check_register(form){   if(form.username.value.length<1){     window.alert('用户名不能为空!');     form.username.focus();     form.username.style.backgroundColor = '#cccccc';     return false;   }else if(form.password1.value<1){      window.alert('登陆密码不能为空!');      form.passwor ...
//校验邮箱地址是否有效 //方法一:使用字符串处理函数验证 function IsEmail(item){ var etext=item; var elen,i,aa; elen=etext.length; if (elen<5)   return true;                //字符不够,不合法 i= etext.indexOf("@",0); if (i==0 || i==-1 || i==elen-1) return true;            //"@"位置错误或没有,不合法 else{     ...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gbk" /> <title>俄罗斯方块有等级分数累加</title> <style> #board tr td { width: 20px; height: 20px; background-Color: #cccccc; border: 1px solid #6B78A9; } #main ...
<script language="JavaScript"> <!-- Begin function BumpUp(abox) { for(var i = 0; i < abox.options.length; i++) { if(abox.options[i].value == "") { for(var j = i; j < abox.options.length - 1; j++) { abox.options[j].value = abox.opti ...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gbk" /> <title>俄罗斯方块有等级分数不累加</title> <style> #board tr td { width: 20px; height: 20px; background-Color: #cccccc; border: 1px solid #6B78A9; } #mai ...
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title>俄罗斯方块Demo</title> <style> #board tr td { width: 20px; height: 20px; background-Color: #cccccc; border: 1px solid #6B78A9; ...

扩招有感

扩招有感        或共 树人当日思, 独木挤断魂。 莫为华山道, 舟楫自遐运。      2010.01.31    
Global site tag (gtag.js) - Google Analytics