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 2 of 2
  1. #1
    Senior Coder
    Join Date
    May 2004
    Posts
    1,464
    Thanks
    15
    Thanked 0 Times in 0 Posts

    javascript validation help

    i'm workign through a complicated validation but need help....first i'm going to try to pinpoint the exact issues and if that doesn't work i'll post my code completely...

    I have a checkbox called sessiona -- how can i check that this checkbox was checked. (any of the sessiona checkboxes) (I know I have done this before and can search this one but I have my second question so I figured i'll ask both..sorry!)

    How can I get the number of checkboxes checked --
    I tried theForm.sessiona.length but it seems to be returning the value of the chekcbox checked and not the number of checkboxes checked.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    This person seemed to have the same issue as you. http://www.codingforums.com/showthread.php?t=75849
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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