I am using jquery post to submit data on server and data having json array for one of the value.
$.post({
type: "POST",
url: "http://someurl",
data: {
id = 12345, order_items: [{
"product_id": "1065",
"sku": {
"SKU": "RHJ",
"msg": "In Stock"
},
"qty": "1"
}]
cup = 0,
rec = 0
},
});
Now how can I post it and get the result?
Instead of $>post use $.ajax request this will give you great access on control.