I think you can use .replace(/%20/g, "+") after encodeURIComponent(String) to replace the %20 with a +. Like: var encodedString = encodeURIComponent("dog cat horse whale"); encodedString.replace(/%20/g, "+");
Good Luck! //Mickster On Jul 20, 3:24 am, spicyj <[EMAIL PROTECTED]> wrote: > encodeURIComponent("dog cat horse whale")