.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()
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)