[Javascript] default value for combobox

Scott.Wiseman site at avidware.com
Wed Mar 20 16:45:58 CST 2002


you can't I just tried that 

you have to loop through the form first

then compare on a submit button

need code??? look at my last posting

-----Original Message-----
From: Dan Costea [mailto:costea.dan at ssi-schaefer.ro]
Sent: Wednesday, March 20, 2002 2:28 AM
To: javascript at LaTech.edu
Subject: [Javascript] default value for combobox


    Hi,
If I want to find the default value for an editbox (<input type="text">), I
use the "defaultValue" attribute: editbox.defaultValue; for the checkbox or
radio, I use "defaultChecked". But how can I find the default text written
in a combobox?

Thanks,
Dan

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list