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

Get the name of the div that the slider is contained in onClick #51

Open
Theory182 opened this issue Jan 15, 2018 · 0 comments
Open

Get the name of the div that the slider is contained in onClick #51

Theory182 opened this issue Jan 15, 2018 · 0 comments

Comments

@Theory182
Copy link

Theory182 commented Jan 15, 2018

I am making multiple range sliders dynamically depending on what data I am pulling in. I have gotten the sliders to slide just fine but when trying to edit the span text I don't know which slider is being clicked so I can't edit the right span.
I am also creating the divs and spans dynamically.

Is there a way to get the ID of the div that contains the range slider that is being clicked? I could then compared which one and be able to select the right span to edit.

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

1 participant