Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2012
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $("#submitbutton").click(function(event) {
  2.   if ( $('#terms-checkbox').is(':checked');  ) {
  3.         return true;
  4.   } else {
  5.     e.preventDefault();
  6.     return false;
  7.   }
  8. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement