如何从<select>下拉列表中隐藏“无”值?

I have a simple drop down list with the options male and female and the value "gender" when nothing is selected.

How do I hide "gender" from the drop down list?

Thanks

<option value="" disabled>Select Gender</option>

EDIT check it

jQuery("select#sel option:disabled").hide();

You will need to use javascript to change the contents of the select on the mouse down event.

This shows you how to do it, but they use a different event. http://www.fiendish.demon.co.uk/html/javascript/listfill.html

But I think most of the time people just leave it in and check for it in the form validation step. At least that is what I would do.