jRange
jRange copied to clipboard
How to get ID from original html input
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!