//$.getjson("http://jc.baoyehb.com/list.json?now="+ math.random(), function(data){ // if (data.success) { // var objs = data.obj; // var $li = ""; // $("#zblist li").remove(); // for ( var i = 0; i < objs.length; i++) { // var obj = objs[i]; // var url = "http://jc.baoyehb.com/biddingnotice/getdetail?id="+obj.id; // var $li = $li + "
  • " // + "" // + ""+(i+1)+"" // + "
    "+obj.name+"
    " // + ""; // } // $("#zblist").append($li); // } //}); $.getjson('http://jc.baoyehb.com/list.json?now='+ math.random()).done(function(data) { if (data.success) { var objs = data.obj; $("#zblist li").remove(); for ( var i = 0; i < objs.length; i++) { var obj = objs[i]; var url = "http://jc.baoyehb.com/biddingnotice/getdetail?id="+obj.id; var $li = ""; var $li = "
  • " + "" + ""+(i+1)+"" + "
    "+obj.name+"
    " + ""; $("#zblist").append($li); } } });