Jeffrey, Thanks! That is exactly what I was missing. Working like a champ now.
Thanks again, Tom On Feb 20, 12:48 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote: > Give the built-in javascript function encodeURIComponent a try and see if > that helps. > > data: "arg=" + encodeURIComponent(arg) > > JK > > -----Original Message----- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > > Behalf Of Tom > Sent: Tuesday, February 19, 2008 7:58 PM > To: jQuery (English) > Subject: [jQuery] Sendingbase64encoded data with .ajax() > > I am attempting to sendbase64encoded data but what is received on > the server is mangled (specifically, any plusses are turned into > spaces). I have attempted to set processData to false, but that > doesn't seem to work. Would setting the contentType help? If so, what > should it be set to? > > $.ajax({ > type: "POST", > url : processorURL, > cache: false, > timeout: 3000, > processData: false, > data: "arg=" + arg, > success: DisplayResults, > error: DisplayError > }); > > Any ideas? > > TIA, > Tom