ok its like this..<BR><BR><script language="vbscript"><BR> sub buttSubmit_onClick()<BR>'when they click on this button i would like to check <BR>'which option button clicked.<BR> if document.frmName.optionbutton.value="optionvalue" then<BR> 'do something<BR> end if<BR> end sub<BR><BR>but i get an error saying that this object doesn't support .value..<BR><BR><BR><BR>
Here you say "Option" which implies one of the <OPTION>s of a <SELECT>. In another message, you say it is a BUTTON. Which is it???<BR><BR>In any case, I'd swear I answered this question for you two or three days ago. I definitely remember answering something for you. Hmmm...but maybe it was a different question and then I answered this one for somebody else. Well, in either case, go look at answers from me for the last 3 to 4 days.<BR><BR>Or explain better what it is you want. Do you *MEAN* <OPTION> or do you mean <INPUT Type=Checkbox> or do you mean <INPUT Type=Button> or or or ???<BR><BR>
Ya it's me...after that i asked u whether it's the same for option button...but u have logged out or sometin..<BR>Actually it's radio button...it's the same as the checkboxes <BR>i asked you...but radio button has 1 checked at a time only..<BR> <BR>what i want is to capture the value of the radio button checked...so what do i use..Thanks very much..
Ok... i think when u answered back i had logged out maybe...<BR>how do i "close out" the threads..;)<BR>Anyway thanks a lot ya...today is my demo and i'm still stuck on the radio buttons...Thanks again...;*<BR>