Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready(function(){
- var grsVal = $('#grs').val();
- var greVal = $('#gre').val();
- $('#grs').change(function(){
- if ($(this).val() == $('#gre').val()) {
- $('#tiredThreshold').show(); //show
- } else {
- $('#tiredThreshold').hide(); //hide
- }
- });
- $('#gre').change(function(){
- if ($(this).val() == $('#grs').val()) {
- $('#tiredThreshold').show(); //show
- } else {
- $('#tiredThreshold').hide(); //hide
- }
- });
- });
- </script>
Add Comment
Please, Sign In to add comment