Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Boolean visibleSubmit { get; set; }
- function termsAccepted() {
- if (document.getElementById('tncs').checked) {
- visibleSubmit = true;
- } else {
- alert("You did not accept the terms and conditions.");
- visibleSubmit = false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement