I trying to figure out how can I use a variable inside a selector. If I use the actual value of the ID in the selector, it works very well.
$(document).on(\"
Basic string concatenation:
$('div[data-id=' + data-id + ']')