[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/misc/ -> form.js (source)

   1  
   2  Drupal.behaviors.multiselectSelector = function() {
   3    // Automatically selects the right radio button in a multiselect control.
   4    $('.multiselect select:not(.multiselectSelector-processed)')
   5      .addClass('multiselectSelector-processed').change(function() {
   6        $('.multiselect input:radio[value="'+ this.id.substr(5) +'"]')
   7          .attr('checked', true);
   8    });
   9  };


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7