Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82260

Refresh function not works

$
0
0
Hello,

The fnDraw Function not works. I have this function

function DuplicaPrice(idprice){       
                
        $.get("prices.php", { idprice: idprice},

            function(data){

              alert('OK!');  
              oTable.fnDraw();              
        });    
}

but the table not refres.


My table declaration:

oTable = $('#prices').dataTable( {
            "sDom": 'l<"clear">Tfrtip',                        
            "bPaginate": true,
            "iDisplayLength": 50,
            "aaSorting": [[ 8, "asc" ]],
            "aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
            "sAjaxSource": "prices.php"
             ...
             ...
             ...


Please helpp !!
Tahnk you

Viewing all articles
Browse latest Browse all 82260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>