Problem with Ajax call
Posted: Mon Oct 22, 2018 3:21 pm
I have a UDF program that accepts an item number. All is working fine until the item number contains a special character like a "/".
The call looks like this:
When I run the code, it's like it's ignoring the call. If I plug the URL from the Developer tools into a browser, it just sits and spins. I can see the encoded value for itemNumber in the URL.
Any Ideas?
Thanks.
The call looks like this:
Code: Select all
var itemSend = encodeURIComponent(item);
ajaxJSON({
url: "http://myIBMI.com:8080/profoundui/universal/trnValidItem",
params: {
orderNumber: order,
itemNumber: itemSend,
location: loc,
batchNumber: batch,
userName: user
},
method: "get",
async: true,
handler: function(ob) {
Any Ideas?
Thanks.