Problem reading webservice with jquery?

后端 未结 4 1298
春和景丽
春和景丽 2021-01-16 20:04

What\'s my function\'s problem? I want to read the response from my webservice but I just receive an error.

The browser message is:

undefined-

4条回答
  •  日久生厌
    2021-01-16 20:15

    Like you use them your OnError and OnSucces are functions that need parameters. Maybe try something simpler like this first to get more feedback:

    error: function(status, error) { alert(status + " - " + error); }
    

提交回复
热议问题