S
Stanislas
and don't know how to do.
Please help.
Stan
Please help.
Stan
Stanislas said:and don't know how to do.
Please help.
Stan
Stanislas said:and don't know how to do.
Please help.
Stan
Hi Stan,
??
I am not sure what your question is.
If you are talking about arrays, try this:
someArray[0] to get the first element.
If you have a selectbox:
<form name="myForm">
<select name="mySelect">
<option value="testing"> testing
<option value="Hammil"> P.Hammil
<option value="Postgres"> Postgres
</select>
</form>
You can get the first element in the selectbox like this:
firstelement = document.forms["myForm"].mySelect[0];
The value like this:
firstelementvalue = document.forms["myForm"].mySelect[0].value;
And if you want to know which element is chooses, try this:
selInd = document.forms["myForm"].mySelect.selectedIndex;
Good luck,
Regards,
Erwin Moller
and don't know how to do.
objSelect = top.document.getElementById(strIdSelect);
objSelet ???
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.