Re: [development] Select to auto-submit
Is this code that I just put within <SCRIPT> tags in the header (probably making sure it is under the jquery import), either manually or by a module? I've never done jquery development. -- Brett Evanson brettev@gmail.com You can get this to work using this short piece of jquery code: $("select#id-of-select-element").change(function() { $("form#id-of-form-element").submit(); }); On Wed, Mar 12, 2008 at 7:55 AM, Brett Evanson wrote:
Any way we can make an exposed filter do an autosubmit when they select one of the options? Does the Javascript Tools module have anything to do with this?
--
Brett Evanson
brettev@gmail.com
View article... <http://www.mailbucket.org/drupal-dev-5241857.html>
On 3/12/08, Brett Evanson <brettev@gmail.com> wrote:
Is this code that I just put within <SCRIPT> tags in the header (probably making sure it is under the jquery import), either manually or by a module? I've never done jquery development.
The Drupal Dojo lesson on JavaScript and jquery would probably be a very good place to start: http://blip.tv/file/193619 andrew
participants (2)
-
andrew morton -
Brett Evanson