DOT NET ACADEMY
Dot Net Interview Questions and Tutorials By Dr. Rajesh Rolen
Home
ASP.NET Interview Questions
+
C#.NET and VB.NET Interview Questions
OOPs Interview Questions
+
Monday, June 21, 2010
Trim text using javascript
String.prototype.trim = function() {
return this.replace(/^\s+|\s+$/g, "");
}
Share This!
No comments:
Post a Comment
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment