设置$.getjson同步请求

在$.getJSON()之前加上$.ajaxSettings.async = false;就可以了

posted @ 2014-06-09 17:03  米斯特Zhang  阅读(202)  评论(0)    收藏  举报