Kamal
Member since Dec 11, 2008
- Profile: /members/549-kamal.htm
- Comments: 1
Recent Blog Comments By Kamal
-
Ask Ben: Javascript String Replace Method
Posted on Jan 18, 2008 at 9:32 AM
Very helpful. Thanks for the post. Here is the code which will replaces all double quote into escape sequence. sStrValue = sStrValue.replace( new RegExp('(")', "gi" ), function( $0, $1 ) { if ( $1 == '"' ) { return( '"' ); } });... read more »