I am making a getJSON request and recieving the error Uncaught SyntaxError: Unexpected token <. I am not sure what to look for, I send up the correct data, and I see xml in my response.
$.getJSON('https://www.domain.com/MainService.asmx/LoginMobile?jsoncallback=?', parameter, function (data, textStatus) {
showDialogMessage('Login error', textStatus);
});
Either you are not using the webservice properly, or the webservice doesn’t support JSONP. Look at the documentation for said webservice.