Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.


Member since Jul 23, 2011

Recent Blog Comments By saravana

  • Ask Ben: Javascript String Replace Method

    Posted on Jul 23, 2011 at 11:28 AM

    <script> var str=" Hai'Hello"; wnodow.document('str.replaceAll("'","\\\\'")); alert(str.replaceAll("'","\\\\'")); </script> Output ---------- alert box display the single cou... read more »