When use jQuery databTables after add action reloa
2014-04-03 00:00
387 查看
摘要: solutions
var oTable;
$(document).ready(function(){
oTable = $('#div').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/url/path/"
});
});
solutions
var oTable;
$(document).ready(function(){
oTable = $('#div').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/url/path/"
});
});
function myfunc(){
oTable.fnDraw();
}
it worked.
http://datatables.net/forums/discussion/256/fnreloadajax/p1
another solution
http://www.meadow.se/wordpress/?p=536
var oTable;
$(document).ready(function(){
oTable = $('#div').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/url/path/"
});
});
solutions
var oTable;
$(document).ready(function(){
oTable = $('#div').dataTable({
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/url/path/"
});
});
function myfunc(){
oTable.fnDraw();
}
it worked.
http://datatables.net/forums/discussion/256/fnreloadajax/p1
another solution
http://www.meadow.se/wordpress/?p=536
相关文章推荐
- 完美解决 use app:showAsAction when not using the appcompat library
- ######保存角色,add表单页面Ajax传参给action,多个集合属性,【较为复杂的页面传参(封装ajax json参数)】:注意表单数据序列化,jquery遍历,json对象转String
- guard class ,can extend to debug by add errorline number when use this check
- Error : should use android:showAsAction when not using support library
- #include "CLucene.h" After a rather long search for the cause Strigi crash on PPC (e.g. Mac)use the flag -ansi when compiling c++ code
- jqueryAPI学习之add(),addBack(),addClass(),after()学习
- (JQuery) Ajax Use When
- Use jQuery to hide a DIV when the user clicks outside of it
- when jquery.ajax() call wcf,if success,how to use wcf return value?
- How to use JSon data in mvc action and post form data use JQuery ajax
- 使用jQuery操作DOM(attr/html/text/addClass/removeAttr/removeClass/append/before/after/clone/replacewith/)
- You receive a "Setup Library wbemupgd.dll could not be loaded" error message when you use Add or Remove Programs in Windows Server 2003
- but when call at some dlg,only no echo,but after add a Invalidate() ,it will be ok very strange.
- Bug #83713 Slave failed to initialize relay log info after OS crash when use MTS and GTID
- use a Content action handlers to add comment for node
- java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState的解决方法
- Can not perform this action after onSaveInstanceState
- When to Use Delegates Instead of Interfaces (C# Programming Guide)
- jQuery中append、insertBefore、after与insertAfter方法注意事项
- When you should use base64 for images