2017年5月27日

JSONObject和JSONArray区别及基本用法

摘要: 一、JSONObject和JSONArray的数据表示形式 JSONObject的数据是用 { } 来表示的, 例如: { "id" : "123", "courseID" : "huangt-test", "title" : "提交作业", "content" : null } 而JSONArra 阅读全文

posted @ 2017-05-27 16:47 选博 阅读(71095) 评论(1) 推荐(9) 编辑

jqurey datatables属性

摘要: $(‘selector‘).dataTable( { /* * 默认为true * 是否自动计算列宽,计算列宽会花费一些时间,如果列宽通过aoColumns传递,可以关闭该属性作为优化 */ "bAutoWidth":true, /* * 默认为false * 是否延迟渲染,当用Ajax或者js方式 阅读全文

posted @ 2017-05-27 15:32 选博 阅读(776) 评论(0) 推荐(0) 编辑

导航