How to use type: “POST” in jsonp ajax call

后端 未结 6 2211
半阙折子戏
半阙折子戏 2020-11-22 13:11

I am using JQuery ajax jsonp. I have got below JQuery Code:

 $.ajax({  
        type:\"GET\",        
        url: \"Login.aspx\",  // Send          


        
6条回答
  •  一个人的身影
    2020-11-22 13:52

    Modern browsers allow cross-domain AJAX queries, it's called Cross-Origin Resource Sharing (see also this document for a shorter and more practical introduction), and recent versions of jQuery support it out of the box; you need a relatively recent browser version though (FF3.5+, IE8+, Safari 4+, Chrome4+; no Opera support AFAIK).

提交回复
热议问题