首页 > 安全资讯 >

Jquery通过GetJSON的后台调用Json取Json数据的示例!

12-11-15

$.getJSON ( "/handle/GetJson.ashx?ajaxaction=get_json&line_name=" + escape(m_josh), function(json) { //alert(json.Line_You); $("#LineYou").val(json.Line_You); $("#BaoYou").val(json.Bao_...

             $.getJSON
                        (
                              "/handle/GetJson.ashx?ajaxaction=get_json&line_name=" + escape(m_josh),
                              function(json) {

                             //alert(json.Line_You);

                                $("#LineYou").val(json.Line_You);
                                $("#BaoYou").val(json.Bao_You);
                                $("#LineQi").val(json.Line_Qie);
                                $("#BaoQi").val(json.Bao_Qie);
                                
                              }
                         );

相关文章
最新文章
热点推荐