Hi All,
I Want to replace ' with || in a string ,
Could let me know how i can achive this in jquery.
Regards
Shehzad
String Function in jquery--- i want to replace ' with || in a string --
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Prabu R8 reputationPosted Dec 26, 2012, 8:03 PM EST
newvalue= oldvalue.replace(/'/g,"||");
ShehzadRank #2,660 · 522 reputationPosted Jan 27, 2013, 11:58 PM EST