Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: None  |  size: 4.66 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $(document).ready(function() {  
  2.                         $("div#HealthCareZone").hide();
  3.                         $("div#ResearchClicalZone").hide();
  4.                         $("div#secondPart").hide();
  5.                         $("div#other-clinical-01").hide();
  6.                         $("div#health-care-01").hide();
  7.                         $("div#hear-about-01").hide();
  8.                         $('input[type=radio]#CAT_Custom_132557_12').attr('checked', false);
  9.                         $('input[type=radio]#CAT_Custom_132560_11').attr('checked', false);
  10.                         $('input[type=radio]#CAT_Custom_132567_5').attr('checked', false);
  11.                         $('input[type=radio]#CAT_Custom_132567_5').each(
  12.                                        function () {
  13.                                            if ($(this).is(':checked')) {
  14.                                                $("div#hear-about-01").show();
  15.                                    
  16.                                                 }
  17.                                                                 else{
  18.                                                                         $("div#hear-about-01").hide();
  19.                                                                         }
  20.                         });
  21.                         $('input[type=radio]#CAT_Custom_132567_5').click(function() {
  22.                         $("div#hear-about-01").show();
  23.                         });
  24.                         $('input[type=radio]#CAT_Custom_132567_4').click(function() {
  25.                         $("div#hear-about-01").hide();
  26.                         });
  27.                         $('input[type=radio]#CAT_Custom_132567_3').click(function() {
  28.                         $("div#hear-about-01").hide();
  29.                         });
  30.                         $('input[type=radio]#CAT_Custom_132567_2').click(function() {
  31.                         $("div#hear-about-01").hide();
  32.                         });
  33.                         $('input[type=radio]#CAT_Custom_132567_1').click(function() {
  34.                         $("div#hear-about-01").hide();
  35.                         });
  36.                         $('input[type=radio]#CAT_Custom_132567_0').click(function() {
  37.                         $("div#hear-about-01").hide();
  38.                         });
  39.  
  40.  
  41.  
  42.                         $('input[type=radio]#CAT_Custom_132557_12').each(
  43.                                        function () {
  44.                                            if ($(this).is(':checked')) {
  45.                                                $("div#health-care-01").show();
  46.                                    
  47.                                                 }
  48.                                                                 else{
  49.                                                                         $("div#health-care-01").hide();
  50.                                                                         }
  51.                         });
  52.                         $('input[type=radio]#CAT_Custom_132557_12').click(function() {
  53.                         $("div#health-care-01").show();
  54.                         });
  55.                         $('input[type=radio]#CAT_Custom_132557_11').click(function() {
  56.                         $("div#health-care-01").hide();
  57.                         });
  58.                         $('input[type=radio]#CAT_Custom_132557_10').click(function() {
  59.                         $("div#health-care-01").hide();
  60.                         });
  61.                         $('input[type=radio]#CAT_Custom_132557_9').click(function() {
  62.                         $("div#health-care-01").hide();
  63.                         });
  64.                         $('input[type=radio]#CAT_Custom_132557_8').click(function() {
  65.                         $("div#health-care-01").hide();
  66.                         });
  67.                         $('input[type=radio]#CAT_Custom_132557_7').click(function() {
  68.                         $("div#health-care-01").hide();
  69.                         });
  70.                         $('input[type=radio]#CAT_Custom_132557_6').click(function() {
  71.                         $("div#health-care-01").hide();
  72.                         });
  73.                         $('input[type=radio]#CAT_Custom_132557_5').click(function() {
  74.                         $("div#health-care-01").hide();
  75.                         });
  76.                         $('input[type=radio]#CAT_Custom_132557_4').click(function() {
  77.                         $("div#health-care-01").hide();
  78.                         });
  79.                         $('input[type=radio]#CAT_Custom_132557_3').click(function() {
  80.                         $("div#health-care-01").hide();
  81.                         });
  82.                         $('input[type=radio]#CAT_Custom_132557_2').click(function() {
  83.                         $("div#health-care-01").hide();
  84.                         });
  85.                         $('input[type=radio]#CAT_Custom_132557_1').click(function() {
  86.                         $("div#health-care-01").hide();
  87.                         });
  88.                         $('input[type=radio]#CAT_Custom_132557_0').click(function() {
  89.                         $("div#health-care-01").hide();
  90.                         });
  91.  
  92. $('input[type=radio]#CAT_Custom_132560_11').each(
  93.                function () {
  94.                    if ($(this).is(':checked')) {
  95.                        $("div#other-clinical-01").show();
  96.            
  97.                         }
  98.                                         else{
  99.                                                 $("div#other-clinical-01").hide();
  100.                                                 }
  101. });
  102. $('input[type=radio]#CAT_Custom_132560_11').click(function() {
  103. $("div#other-clinical-01").show();
  104. });
  105. $('input[type=radio]#CAT_Custom_132560_10').click(function() {
  106. $("div#other-clinical-01").hide();
  107. });
  108. $('input[type=radio]#CAT_Custom_132560_9').click(function() {
  109. $("div#other-clinical-01").hide();
  110. });
  111. $('input[type=radio]#CAT_Custom_132560_8').click(function() {
  112. $("div#other-clinical-01").hide();
  113. });
  114.  
  115. $('input[type=radio]#CAT_Custom_132560_7').click(function() {
  116. $("div#other-clinical-01").hide();
  117. });
  118. $('input[type=radio]#CAT_Custom_132560_6').click(function() {
  119. $("div#other-clinical-01").hide();
  120. });
  121. $('input[type=radio]#CAT_Custom_132560_5').click(function() {
  122. $("div#other-clinical-01").hide();
  123. });
  124. $('input[type=radio]#CAT_Custom_132560_4').click(function() {
  125. $("div#other-clinical-01").hide();
  126. });
  127. $('input[type=radio]#CAT_Custom_132560_3').click(function() {
  128. $("div#other-clinical-01").hide();
  129. });
  130. $('input[type=radio]#CAT_Custom_132560_2').click(function() {
  131. $("div#other-clinical-01").hide();
  132. });
  133. $('input[type=radio]#CAT_Custom_132560_1').click(function() {
  134. $("div#other-clinical-01").hide();
  135. });
  136. $('input[type=radio]#CAT_Custom_132560_0').click(function() {
  137. $("div#other-clinical-01").hide();
  138. });
  139.  
  140.  
  141.         });