Click to See Complete Forum and Search --> : Removing the "+"


batterysavers
06-29-2003, 04:06 PM
Can someone tell me how to remove the "+" from my text. I've hidden text and passed it on to another page to be displayed. But, the spaces from the hidden text bewteen the words changes to the "+".

It is set up for the first and second product on this page: http://www.cookie-nook.com/All_cookies_I_love_you.htm

Thanks

jeffmott
06-29-2003, 04:22 PM
String.prototype.urldec = function()
{
return unescape(this.replace(/\+/g, " "));
}Note that this was copied from the source of the JS query string parameter parser I already gave you (http://forums.webdeveloper.com/showthread.php?s=&threadid=11889), and using that entire script is still a better alternative.

jeffmott
06-30-2003, 12:24 AM
Passing data example.