且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用wcf服务解决跨域问题

更新时间:2023-12-01 12:36:58

.ajax({
type: POST
contentType: application / json; charset = utf-8
url:' http: //localhost:49878/Employee.svc/GetEmployeeList'

dataType: json
成功:功能(数据){
// alert(data.d);
.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: 'http://localhost:49878/Employee.svc/GetEmployeeList', dataType: "json", success: function (data) { //alert(data.d);



.parseJSON (data.d))。each( function (index,value){
.parseJSON(data.d)).each(function (index, value) {