I have a table with about 20rows, which contain a checkbox and a bit of text each. What I’m trying to find a way to do is to have delete button at the bottom of the page.When i clicked on DELETE button, it should delete records of checked checkbox rows. I need to delete all the table rows which contain CHECKED textboxes.and remaining checkboxes should be displayed. And we should keep remaining checkboxes in ARRAYLIST.
I need to do this in JavaScript (which is what I’m having trouble with) / if in rear case JSP is accepted- I’ve been able to get bits of it to work at various times, but I’m running out of time and I really need help. Any suggestions anyone has would be more than appreciated!
Thanks!
Thank you for your reply:)
But in this program ,it is deleting unchecked checkboxes.
I want to delete checked checkboxes.And store all unchecked checkboxes in Arraylist(collection). and print that arraylist.
please, help me out…
I want to store all unchecked checkboxes in an Arraylist in java(in should be in scriptlet)…and print it after clicking on remove button
Thanks for your reply…
i have tried using innerHtml…but i dont know much about javascript.I am new in Javascript. So, could you help me and send me example code to store that unchecked checkboxes in arraylist i.e. collections…