使用get()方法以GET方式从服务器获取数据 我的个人资料
$(function(){$("#btnShow").bind("click",function(){var$this=$(this);$.get("http://www.imooc.com/data/info_f.php",function(data){$this.attr("disabled","true");$("ul").append("我的名字叫:"+data.name+" ");$("ul").append("男朋友对我说:"+data.say+" ");},"json");})});