Skip to content

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

@Theory182

Description

@Theory182

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions