mardi 31 mai 2016

JavaScript runtime error: InvalidStateError

I'm getting an "Unhandled Exception" error at this specific point of the code:

function loadAccount(accountId) { // here-> $("#accountDetails").load('/RxCard/GetAccount', { accountid: accountId }, function (response, status, xhr) { if (status == "error") { var msg = "Sorry but there was an error: "; alert(msg + xhr.status + " " + xhr.statusText); } I have no idea what is causing this. I'm trying to run an application that will save the changes a user submits. The error appears as soon as I click on the "save" button. Any help is appreciated. Thanks.




Aucun commentaire:

Enregistrer un commentaire