Guest User

Untitled

a guest
Jan 24th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. <script type="text/javascript">
  2. $(document).ready(function(){
  3. var grsVal = $('#grs').val();
  4. var greVal = $('#gre').val();
  5. $('#grs').change(function(){
  6. if ($(this).val() == $('#gre').val()) {
  7. $('#tiredThreshold').show(); //show
  8. } else {
  9. $('#tiredThreshold').hide(); //hide
  10. }
  11. });
  12. $('#gre').change(function(){
  13. if ($(this).val() == $('#grs').val()) {
  14. $('#tiredThreshold').show(); //show
  15. } else {
  16. $('#tiredThreshold').hide(); //hide
  17. }
  18. });
  19. });
  20. </script>
Add Comment
Please, Sign In to add comment