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

selecting 0 index item does nothing #42

Open
mazhar266 opened this issue Oct 4, 2013 · 2 comments
Open

selecting 0 index item does nothing #42

mazhar266 opened this issue Oct 4, 2013 · 2 comments

Comments

@mazhar266
Copy link

when we try to select the item with index 0 like this:
$('#demoSetSelected').ddslick('select', {index: 0});
it does nothing.

@rchiba
Copy link

rchiba commented Feb 19, 2015

I can confirm this issue.

@andrewlow
Copy link

There is a work-around http://designwithpc.com/plugins/ddslick#comment-2049064500

Don't pass an integer, pass it as a string

$('#mydiv').ddslick('select', {index: String(myIndex)});

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

3 participants