[jQuery] Modify how name:value pairs are converted in the URL
Whenever execute the following code, the URL that is formed has "?"
before my name and an "=" before my value (so the URL would be "http://
url/?acct=123"). I need the URL formatted so that a "+" is in front of
the name and a ":" (colon) to be before the value (i.e. formatted like
"http://url/+acct:123"). Is there a way to change this behavior?
$.ajax({
url: lansaUrl('proc', 'func'),
global: true,
cache: false,
type: "GET",
data: ({"acct": object.value}),
dataType: "json",
success: function(result){
$("p#customerInfo").innerHTML += " "+result;
},
error: function(xhr, desc, exceptionobj) {
alert(xhr.responseText);
}
});