Simple question about a drop down list

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm using the drop down list in a web app. I can set the items in the list
with no problem. How do I set the text? That is to say, how do I set the part
that the user sees before they drop down the list?
 
As far as I know, with HTML, you can't have any text that is there before
anything is selected. If you want that, your first item has to be 'Please
select...' or something like that, and you just have to make sure your code
knows that is not an actual item in the list.
 
Back
Top