I am stuck on this plz help me
I have three divs having same id
<div id=“1”>Click me</div>
<div id=“1”>Click me</div>
<div id=“1”>Click me</div>
I want to hide only which i clicked but when i click on any one all the divs hide.
$(document).ready(function(){
$(‘[id=“1”]’).click(function(){
$(‘[id=“1”]’).hide();
});
});
I want to hide only that whick i clicked