标签:java http com get javascript cti
1 用jsonp
$.getJSON(" http://www.guozhijinan.com/document!searchJSONResult.action?name1="+value1+"&jsoncallback=?",
function(json){
if(json.属性名==值){
// 执行代码
}
});
$.getJSON(" http://www.tongxinglong.com/document!searchJSONResult.action?name1="+value1+"&jsoncallback=?",
function(json){
if(json.属性名==值){
// 执行代码
}
});
javascript 跨域解决方案,布布扣,bubuko.com
标签:java http com get javascript cti
原文地址:http://www.cnblogs.com/guozhijinan/p/3792105.html