摘要:
function test(control){if (control==undefined)return false; var thisTR = control.parentNode.parentNode; if (thisTR.cells.length == 0) return false; var holderID = control.id; var holderName = control.... 阅读全文
摘要:
function NoExec() { if(event.keyCode==13) event.returnValue=false; } document.onkeypress=NoExec; 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.IO;using System.Text;using System.Web.UI;namespace WebApplication{ /// <summary> /// 消息类 /// /// /... 阅读全文
摘要:
\\--------------------------c# Regex--------------------------------//调用方法static bool IsNumeric(string str) { System.Text.RegularExpressions.Regex reg1 = new System.Text.RegularExpressions.Regex(@"^... 阅读全文
摘要:
// JavaScript Document/**调用方法:1.addcheck(id,str);2.addcheck(id,str,type);3.addcheck(id,str,type,value);4.addcheck(id,str,type,value,errorid);id为检查的控件的id,比如 input text 类型的id .str为出错误提示的字符串type为检查的类型.具体... 阅读全文