Advertisement
Guest User

Untitled

a guest
Dec 6th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. <input id="check_1" name="check[1]" type="checkbox" value="1"/>
  2. <label for="check_1">One</label>&nbsp;
  3.  
  4. <input id="check_2" name="check[2]" type="checkbox" value="1"/>
  5. <label for="check_2">Two</label>&nbsp;
  6.  
  7. <input id="check_3" name="check[3]" type="checkbox" value="1"/>
  8. <label for="check_3">Three</label>
  9.  
  10. $("#check_1").change(function() {
  11. alert('Checkbox One is clicked');
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement