<div class="codetitle"> <span><a style="CURSOR: pointer" data="22872" class="copybut" id="copybut22872" onclick="doCopy('code22872')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code22872"> <br> $.ajax<br> ({<br> cache: false,<br> async: false, // 太关键了,学习了,同步和异步的参数<br> dataType: 'json', type: 'post',<br> url: "../handle/Ladder_Fee_Code.ashx?ajaxaction=Select_FangAn",<br> success: function (data)<br> { <br> alert("1");<br> }<br> });<br> alert("2");<br> </div> <br>