Results 1 to 2 of 2

Thread: checkboxes

  1. #1
    Join Date
    Dec 1969

    Default checkboxes

    i generate dynamic checkboxes which are in turn named dynamically like CB1, CB2, CB3 .... where each of the checkbox correspond to one name. how do i get a list of the names if the checkbox against it is clicked and the submit button is pressed. <BR>for understanding sake the checkboxes in the yahoo mailbox. against each msg there is a checkbox for deleting it. <BR>so how do i get the list of names on selection of these checkboxes. any kind of help will be appreciated<BR>thanx<BR>felix

  2. #2
    Join Date
    Dec 1969

    Default RE: checkboxes

    set the value attribute of the checkn=box to the corresponding name and then you can get it&#039;s value by looping through the checkboxes and if checked then gets is value by <BR><BR>if(CB1.checked)<BR>CB1.value <BR><BR>for example

Posting Permissions

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