Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
I am the chief technical officer at InVision App, Inc - a prototyping and collaboration platform for designers, built by designers. I also rock out in JavaScript and ColdFusion 24x7.
Meanwhile on Twitter
Loading latest tweet...
Ben Nadel at cf.Objective() 2011 (Minneapolis, MN) with:

calicoder

Member since Dec 11, 2008

Recent Blog Comments By calicoder

  • Ask Ben: Javascript String Replace Method

    Posted on Jul 25, 2008 at 8:32 PM

    previous post should be stringValue.replaceAll("&", "& amp;"); ** no space **... read more »

  • Ask Ben: Javascript String Replace Method

    Posted on Jul 25, 2008 at 8:29 PM

    Your replaceAll code is *** NOT SAFE *** You should be using javascript's regular expression support for this instead of a loop: stringValue.replace(/something/g, "something else"); Your solution causes infinite loop. Example: stringValue.replaceAll("&", "&"); In this scenario you'd like t... read more »