摘要:
1、jquery的ajax方法。$("#ajaxbtn").click(function(){ $.ajax({ url:"json.do", beforeSend:function(){ $("#status").html(""); }... 阅读全文
摘要:
1、通过xml进行数据交换2、通过json进行数据交换(1)数组表示有序结构(2)键值对表示对应关系(3)在服务器端由对象转换为json字符串①json-libJSONArray jsonArray = JSONArray.fromObject(users); JSONObject jsonObj... 阅读全文
摘要:
1、创建ajax引擎。function createXMLHttp(){ var xmlHttp; if(window.ActiveXObject){ xmlHttp = new ActiveXObject("Microsoft.XMLHttp"); }el... 阅读全文