Auto submit form

Well, views now (D7) has this feature built in for exposed filters, but if you still need it somewhere -

(function ($) {
  Drupal.behaviors.autoSubmit = {
    attach: function(context) {
      $("form#form-ID .field-class").change(function() {
          $(this).parents("form").submit();
      });
    }
  };
})(jQuery);

You must adjust the selectors obviously.

Comments

By submitting this form, you accept the Mollom privacy policy.