Gurpartap Singh
public javascript v1 · immutableif(Drupal.jsEnabled) { $(document).ready(function() { $('#hidden_section').hide(); $('#stuff').bind('change', function(event) { // Do the manipulation of value if ($(this).attr('selectedIndex') == 1) { $('#hidden_section').show(); } else { $('#hidden_section').hide(); } }); });}