.Net Treasure
Tuesday, December 20, 2011
Trim() function for IE
String.prototype.trim =
function
() {
return
this
.replace(/^\s+|\s+$/g,
""
);
};
var
SelectedClient = $(
"#SelectedClient"
).val();
var
Data= SelectedClient.trim()
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment