2007年12月18日
摘要: 利用JavaScript提供的方法,在客户端通过正则表达式(regular expression)的方式,验证页面输入的合法性是很常用且很高效的做法。想要与给定的正则表达式的模式相比较,不仅可以通过字符串提供的一些方法,也可以通过正则表达式对象(RegExp)提供的方法实现。 阅读全文
posted @ 2007-12-18 12:39 Willson 阅读(3533) 评论(0) 推荐(0) 编辑
  2007年11月29日
摘要: We have a fair amount of forum questions here on Eggheadcafe.com that center around the area of client-side scripting with ASP.NET, and we thought it would be about time to start an FAQ article on the subject. We'll include all the basics of client - side script with ASP.NET here, drawn from reliable sources (and simplified!) along with our own "discoveries". We'll also insert links to other resources where appropriate. This is a community "work in progress" which we will add to on a regular bas 阅读全文
posted @ 2007-11-29 21:38 Willson 阅读(732) 评论(0) 推荐(0) 编辑
  2007年11月28日
摘要: The ASP.NET-TextBox in Multiline-Mode has a little problem: The MaxLength-property has no effect. This article shows how to workaround this problem with a nice javascript-hack. 阅读全文
posted @ 2007-11-28 17:07 Willson 阅读(1007) 评论(0) 推荐(0) 编辑