reload - TypeError: $.fn.datagrid.methods[_6dc] is not a function -


firebug 2.0.6 showing jquery type error using jquery-easyui.

i know has been asked before , i've spent couple of hours ploughing through answers , i'm getting deeper , deeper.

has seen in firebug?

typeerror: $.fn.datagrid.methods[_6dc] not function...
return $.fn.datagrid.methods_6dc;

in http://www.jeasyui.com/easyui/jquery.easyui.min.js on line 9523

i have copied code straight site follows:

<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.min.js"></script> <script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>    

and

function destroyuser(){   var row = $('#tbldata').datagrid('getselected');   if (row){     $.messager.confirm('confirm','are sure want destroy user?',function(r){       if (r){         $.post('destroy_user.php',{id:row.id},function(result){           if (result.success){             $('#tbldata').datagrid('reload');  // reload user data           } else {               $.messager.show({  // show error message               title: 'error',               msg: result.errormsg             });           }         },'json');       }     });   } } 

the function above delete record except $('#tbldata').datagrid('reload'); not work.

i can't believe there link between these 2 issues. solved problem location.reload();, there's surely better way, right?


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -