$(function(){
$("#b01").click(function(){
htmlobj=$.ajax({url:"/example/data/ajax.txt",async:false});
$("#myDiv").html(htmlobj.responseText);
});
})
不明白例子为什么用同步,所以,改成了异步(async:true)却不出现结果了。请问,如果改成同步,服务器端是否也需要响应的变化?即,服务器响应同步和异步的方式是不同的吗?