What is the best way to call a .net webservice using jquery?

前端 未结 6 1369
粉色の甜心
粉色の甜心 2020-12-17 04:19

I\'d like to call a .net webservice from another domain using only jquery.

What is the best way to do this? and are there any configuration changes I need to be awar

6条回答
  •  时光取名叫无心
    2020-12-17 05:17

    I think your problem is to make the crossdomain call. You have to change the data type of your jQuery request to jsonp.

    Take a look at this link

提交回复
热议问题