Hi everyone, i need your help)
i have some elements with same id, say:
<div id="myid">Data1</div>
<div id="myid">Data2</div>
I want to get innerHtml when one of them is clicked, how can i determine which one exactly was clicked?
JQuery:
$("#myid").click(function(){
//how to get the .html and other properties of clicked element?
});
Thnx