/ Published in: JavaScript
Expand |
Embed | Plain Text
<script type="text/javascript"> function check_agreement() { //if the agreement checkbox is checked, return true, otherwise return false if(document.getElementById('LocationAgree').checked == true) { return true; } else { alert('Please agree to the terms and conditions.'); return false; } } </script>
You need to login to post a comment.
