Escaping a Plus in Javascript
I got stuck trying to send a string that contained a “+” via Javascript to a Flash component. Using “escape()” didn’t help as it continued to come through as a space. The workaround I discovered is to use “encodeURIComponent()” instead.
Tags: encodeuricomponent, escape, flash, javascript, plus
