How to hide first item from an Html Select Tag

Posted by Emanuel on Stack Overflow See other posts from Stack Overflow or by Emanuel
Published on 2010-05-25T05:40:42Z Indexed on 2010/05/25 6:51 UTC
Read the original article Hit count: 318

Filed under:
|
|
|

I have the following code:

<select>
    <option value="0">Option 0</option>.
    <option value="1">Option 1</option>
    <option value="2">Option 2</option>
</select>

When you click on select I wish the first item to be no longer listed. Also it must work on all browsers. How can this be done?

Thanks.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html