Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Selected option #85

Closed
pjerome opened this issue Nov 18, 2012 · 5 comments
Closed

Selected option #85

pjerome opened this issue Nov 18, 2012 · 5 comments

Comments

@pjerome
Copy link

pjerome commented Nov 18, 2012

The default selected option is not selected onload.

@webgodo
Copy link

webgodo commented Dec 5, 2013

I have same problem

@Robdel12
Copy link
Owner

Robdel12 commented Dec 5, 2013

Do you have an example?

@webgodo
Copy link

webgodo commented Dec 5, 2013

i have a select like this:
<select name="slsex">
    <option value="0">Female</option>
    <option value="1" selected="selected">Male</option>
</select>
and I want this (Male) to be selected after dropKick makes it 'dropkicked' (after js ran)

@Robdel12
Copy link
Owner

Robdel12 commented Dec 8, 2013

Seems to work for me here:

http://codepen.io/robdel12/pen/gADoC

@awesome
Copy link

awesome commented Mar 25, 2014

20140324 solution

gist: https://gist.github.com/awesome/0a9bf6dbc783502c4bc1

jsfiddle: http://jsfiddle.net/awesome/ARt38/1/

(need to make dynamic… welp, no time today)

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

No branches or pull requests

4 participants