Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why won't this select open up?

Tags:

html

select

I have a very simple select drop down. In Chrome, it doesn't drop down. The code itself works fine, and the drop down works in Safari, but for some reason it won't open in Chrome. Here is the HTML:

<select name="pellet_credit" class="item_discount">
    <option>1</option>
    <option>2</option>
    <option>3</option>
</select>

It should be pretty simple. It's a dropdown... Here's a screenshot of the select, selected, but not open: alt text

--- edit ---

This is a jsfiddle with the full source included. The dropdown works for me in the jsfiddle view, but not on the actual site.

http://jsfiddle.net/HSYvf/

--- edit ---

Other drop downs on the page work fine.

like image 226
hookedonwinter Avatar asked Dec 13 '22 18:12

hookedonwinter


1 Answers

Validate your HTML to make sure there aren't extraneous closing/end tags. Make sure you aren't hiding the options through CSS as well.

like image 121
meder omuraliev Avatar answered Jan 02 '23 09:01

meder omuraliev