- $.ajax({
- type : "get",async:false,url : "",dataType : "jsonp",//
- jsonp: "jsonpCallback",//
- success : function(data){
- alert("OK");
- var t= JSON.parse(data);
- $("#showopen").text("Result:"+t);
- },error:function(){
- console.log('fail');
- }
- });
- $.ajax({
- type : "get",async:false,url : "",dataType : "jsonp",//
- jsonp: "jsonpCallback",//
- success : function(data){
- alert("OK");
- var t= JSON.parse(data);
- $("#showopen").text("Result:"+t);
- },error:function(){
- console.log('fail');
- }
- });