Daniel Hood
Well-known member
I'm working on something and want to have ajax requests. I know that you can just add .json to any url and it sets the output method as json. But currently I get this response:
How can I make that stop erroring and output:
instead of
Code:
{
error: [
"Security error occurred. Please press back, refresh the page, and try again."
],
templateHtml: " <div class="errorOverlay"> <a class="close OverlayCloser"></a> <h2 class="heading">The following error occurred:</h2> <div class="baseHtml"> <label for="ctrl_0" class="OverlayCloser">Security error occurred. Please press back, refresh the page, and try again.</label> </div> </div>",
_visitor_conversationsUnread: "0",
_visitor_alertsUnread: "0"
}
How can I make that stop erroring and output:
Code:
myArray: {
}
Code:
{
templateHtml: "",
_visitor_conversationsUnread: "0",
_visitor_alertsUnread: "0"
}