Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Feb 2010
    Location
    God's Own Country
    Posts
    87
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Delete multiple rows simultaneously

    Hello,

    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?

  • #2
    New Coder
    Join Date
    Feb 2010
    Location
    God's Own Country
    Posts
    87
    Thanks
    6
    Thanked 0 Times in 0 Posts
    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

  • #3
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,854
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    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?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •