fnDeleteRow and fnDraw, none works =(

fnDeleteRow and fnDraw, none works =(

punchipunchi Posts: 6Questions: 1Answers: 0
edited November 2010 in General
Hi,

I have this code:

[code]
$('#acc_eliminar').click( function() {
var sData = $('input:checked', oTable.fnGetNodes());
if (sData!=''){
var spots = '';
for(i=0; i

oTable.fnDraw();
alert("UPDATE!");

[/code]

What it does?
Takes the ID's of the checked fields and pass them to other page with AJAX, modal windows (jquery UI), the other page receive the ID's and delete them from the database.

And where's the problem?
I execute oTable.fnDraw(); but the table still the same! it should be updated with the proper DOM fields... I tried this to:

$('#tr_<?=$ids[$i]?>').remove();

so, I see how that is deleted, but when I resort by clicking in the fields, that appear again... what can I do?

thanks

Replies

  • punchipunchi Posts: 6Questions: 1Answers: 0
    so... anybody? XD
  • damekkodamekko Posts: 4Questions: 0Answers: 0
    Pudiste arreglar tu problema punchi?
  • punchipunchi Posts: 6Questions: 1Answers: 0
    Hola!

    La verdad es que no, lo omiti y ahora realizo otra cosa... esa p
This discussion has been closed.