jRange icon indicating copy to clipboard operation
jRange copied to clipboard

How to get ID from original html input

Open watercayman opened this issue 9 years ago • 0 comments

Fantastic plug-in, thank you.

I'm sure I'm missing something basic, but I've got multiple jRange inputs on one page, each with their own id, created dynamically. When user finishes entry (onDragEnd or barClicked), I send the value data to a function. But I can't figure out how to get the id back to the function in order to update the DB for the specific item clicked.

Please help.

Doh! Found it. Can get this easily by accessing: this.inputNode.attr('id') or this.inputNode.get(0).id

Awesome - thanks again!

watercayman avatar Jul 09 '15 21:07 watercayman