I wish to be able to use data-id as an identifier on an action but am not sure how this is done. Usually for an id I would do the following:
$("#id").click.......
However I do not know the syntax to use data-id as the identifier. Something like this but not sure what:
$(data-id).click.....