All pastes #613249 Raw Edit

Gurpartap Singh

public javascript v1 · immutable
·published 2007-07-10 21:37 UTC
rendered paste body
if(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();      }    });  });}