javascript - Click to view information on each thumb post -
I want to click on each button to see information in every post, but when I click on it Everyone sees
Here's my example: I have HTML:
     and I click on it:  
  $ ('.btn'). Click (function () {$ ('.hidden'). CSS ({"visibility": "visible"})});    But this is not working I want to use toggles or something like that but I do not know how to do  
 please  < / Div>  
  You can use  $ (this)  to target the next immediate brother of the clicked button <  .hidden  div:  .btn  button with strong> . Click (function (hidden). Css ({"visibility": "hidden"}); $ (this) .next () .css ({"visibility": "visible"}) ;};        
 
  
 
 
Comments
Post a Comment