Ajax如何設置同步請求

  var str = '';         // 發送異步請求,根據id獲取城市           $.ajax({            type:'post' ,            url : 'UserServlet?method=getCityName' ,            cache:false ,            async: false ,  //同步請求必
相關文章
相關標籤/搜索