hi,
i have my code working. however, i'm stuck in getting the value of a folder that is in a drop down box. i can't seem to get the correct syntax for getting the value of the selectin.
i can get a number to indicate the selected index of the option that they select. but how would i get the actual value?
thanks!
i have my code working. however, i'm stuck in getting the value of a folder that is in a drop down box. i can't seem to get the correct syntax for getting the value of the selectin.
Code:
<form name=frm2>
<SELECT NAME="folders" SIZE="1">
<OPTION SELECTED>app_dev
<OPTION>research
<OPTION>finance
<OPTION>immunization
<OPTION>HCCA
</SELECT>
</form>
Code:
sel = document.frm2.folders.options.selectedindex