View Full Version : Delete multiple rows simultaneously

08-30-2010, 06:38 AM

I have a form which displays various book details.I have placed checkboxes to each row.What I need is when I select/check mutilple checkboxes and press the "DELETE" button,all the corresponding rows should be deleted..Is it possible to do it in Javascript or Should I use Ajax?
I went through some Ajax Tutorials..got the basic concepts..but still don't have any idea for performing the delete process..I mean..to delete multiple rows simultaneously...Can you give me the code for doing it..or atleast give me some hints?

09-03-2010, 06:58 AM
Can someone help me?? I don't know how to get those id's corresponding to selected checkboxes..Can someone provide me ajax/jquery code

09-03-2010, 08:35 AM
Are you talking about removing some elements from DOM using javascript Or do you need to "Delete" something from database based on the checkbox selection?