Results 1 to 3 of 3

Thread: [RESOLVED] check one and check all check box and delete--script

  1. #1

    Thread Starter
    New Member keats's Avatar
    Join Date
    Feb 2006
    Location
    India
    Posts
    15

    Resolved [RESOLVED] check one and check all check box and delete--script

    hi

    I want to use a check box to select records to be deleted and delete the selected records. how can i do this..please direct me

    thanks
    keats
    Keep Smiling!!

  2. #2
    Member AWC_Joe's Avatar
    Join Date
    Jan 2006
    Location
    Located
    Posts
    49

    Re: check one and check all check box and delete--script

    One way would be to use javascipt (to select all check boxs via one click).
    And label the check bocs like...
    HTML Code:
    <input name="name_1" type="checkbox">
    <input name="name_2" type="checkbox">
    Then on the page which catch there restuls, just loop through them and check it they are true or false, if there true grab there id.

    _
    |
    Some programs and scripts ive made: http://wiki.anotherwebcom.com
    What was once an opinion, became a fact, to be later proven wrong...

  3. #3

    Thread Starter
    New Member keats's Avatar
    Join Date
    Feb 2006
    Location
    India
    Posts
    15

    Resolved Re: check one and check all check box and delete--script

    thanks i used the same logic as u told..working fine....thanks anyway
    Keep Smiling!!

Posting Permissions

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



Click Here to Expand Forum to Full Width