Friday, May 28, 2010

Customize VS.Net Look&Feel

http://studiostyles.info

regex to strip non-numeric characters from a phone-number-string

javascript - function(value) {return value.replace(/[^0-9]/g,"") }

This convertor function strips any non-numeric characters from the INPUT element. Now, if you enter the phone number (206) 555-9999 into the phone input field then the value 2065559999 is assigned to the phone property of the contact object

http://weblogs.asp.net/scottgu/archive/2010/05/07/jquery-templates-and-data-linking-and-microsoft-contributing-to-jquery.aspx

Followers

Blog Archive