2013年5月7日

js自定义实用函数总结

摘要: //通用请求入口function commonReq(options){var url = options.url || '';var type = options.type|| 'get';var data= options.data|| {};var dataType= options.dataType || 'json';var callbackFn= options.callbackFn || '';$.ajax({url : url,type: type,data: data,dataType : dataType,be 阅读全文

posted @ 2013-05-07 11:32 andydaopeng 阅读(179) 评论(0) 推荐(0) 编辑