tonelm54
asked on
"Please select" on Combo
Is it possible to have "please select" in combo boxes in HTML?
Ive got some simple code:-
What I would like to do is have the initial text set to 'Please select', but not have it as an option that the user can selects when it drops down.
Im assuming it will need some Javascript, but thought Id ask the question before playing around to get a script to do it.
Thank you
Ive got some simple code:-
<select id="Q2">
<option value="Management">Management</option>
<option value="Finance">Finance</option>
<option value="Administration">Administration</option>
<option value="Human Resources">Human Resources</option>
<option value="Marketing">Marketing</option>
<option value="Communications">Communications</option>
<option value="Engineer">Engineer</option>
</select>
What I would like to do is have the initial text set to 'Please select', but not have it as an option that the user can selects when it drops down.
Im assuming it will need some Javascript, but thought Id ask the question before playing around to get a script to do it.
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window