- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
You could use a regular expression. For example,
var str = this.rawValue;
this.rawValue = str.replace(/\r|\n/g,"");
will globally replace carriage returns (\r) or line feeds (\n) with "".
Steve
Views
Replies
0 Likes
Total Likes