Can anyone tell me 2 things.
1. is JQUERY fully accessible in Netsuite, in other words is it the "full fat" version or some hybrid / cut-down crazy NS "let's be non-standard for lols version"?
2. Why does my script stop as soon as I try and do $.post / $.ajax in sites.js in the OnePage Checkout BETA implementation.
before that 2nd one looks too vague here is an example of my code :
$.ajax({
type: "POST",
url: url,
data: theLot,
contentType: "text/json; charset=utf-8",
dataType: "text",
success: function (msg) {
var jsonUpdatedData = msg;
}
});
the url is valid
theLot is a correctly formed JSON object
I do not get an error message against the SSP application execution log (unsurprisingly), I do not get a response on screen.
If I add a console.log either side of the bracketed $.ajax I see the log immediately before the code but nothing after it.
It really just seem to grind to a halt. :eek: