jquery get hash id and match of div has same id on click code example Example: get element by id jqueryt $( "#myDiv" )