Guest User

Untitled

a guest
Feb 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. <input type="hidden">
  2. <div>blablabla</div>
  3. <a href="#">link</a>
  4.  
  5. <script>
  6. $("a").click(function(){
  7. // select previous element that matches "input[type=hidden]"
  8. });
  9. </script>
Add Comment
Please, Sign In to add comment