$.ajax({
async:true,
crossDomain:true,
dataType:"json",
type:'GET',
url:BASEURL+"json/warp_list.json",
success:function(json){
draw_warp(json);
//draw_prgh(json);
var x = new Array();
for (var i=0; i < json['chart_warp'].length; i++) {
$.getJSON(BASEURL+json['chart_warp'][i]['url'],function(options){
x[i] = chart(options);
alert(x[i]);
//x[i]['chart']['renderTo'] = options.reander;
//alert(x[i]['chart']['renderTo']);
chart = new Highcharts.Chart(x[i]);
})
}


}
})
在上列代码中,红色部分,能不能这样写?另外,返回结果如不能用来生成不同的对象吗?