#193 new
Falk Lehmann

First option of select is not selected

Reported by Falk Lehmann | March 23rd, 2012 @ 04:33 AM

I am trying to get the selected element of a dropdown using jquery:


In every browser (FF11, Chrome1x, IE9) this function returns 0, even if no element was selected manually, in the code or in the HTML markup.
EnvJS returns -1 which may be correct, as no element was previoulsy selected, but differs from the behaviour of all tested browsers.

Any chance of changing this?

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

a javascript browser environment

People watching this ticket