uncheck a checkbox on another page of the table
uncheck a checkbox on another page of the table
My multi-page table has checkboxes in the first column, clicking (checking) the checkbox causes other things to happen, including un-checking the preciously checked checkbox. This is working fine as long as both checkboxes are on the same page. If I (for example) check a box on page one, then go to page two and check a box all of the other things that are supposed to happen do happen, but the checkbox on page one is not unchecked. As I said, as long as I am on the same page it is working the way it's supposed to.
Here is what I'm using to uncheck:
$('#cb'+previousrow).attr("checked",false);
Is there a way to affect the checkbox on another page? I've tried various forms of fnUpdate but that apparently does not work with a checkbox.
Thanks
Here is what I'm using to uncheck:
$('#cb'+previousrow).attr("checked",false);
Is there a way to affect the checkbox on another page? I've tried various forms of fnUpdate but that apparently does not work with a checkbox.
Thanks
This discussion has been closed.
Replies
the problem now is that when I insert the row again the table jumps to the first page and I need it not to do that.
Is there a way to find out what page is currently being displayed and then jump back to that page after the row is added?
Thanks