Quantcast
Viewing all articles
Browse latest Browse all 82152

Refresh function not works

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 82152

Trending Articles