Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Default selection based on selected attribute, not class name #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zeroasterisk
Copy link

...ribute of selected pretty easily and provides a more standard functionality....

…attribute of selected pretty easily and provides a more standard functionality....
@emposha
Copy link
Owner

emposha commented Feb 15, 2012

Hi, there is a problem with IE, first element by default selected.
http://stackoverflow.com/questions/1361446/ie8-the-option-tag-gets-a-selected-attribute-by-default-and-clonenode-makes

@zeroasterisk
Copy link
Author

That's very strange -- thanks for pointing it out -- perhaps we can figure out another solution... but with some CMSes it's very difficult to control the HTML to put a class onto the options. maybe a configuration variable or something? I'm going to keep this attr('selected') functionality on my end...

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants