Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9257013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:06:26+00:00 2026-06-18T12:06:26+00:00

The regular <input type=’reset’> resets the form to its initial document.ready state but does

  • 0

The regular <input type='reset'> resets the form to its initial document.ready state but does not invoke the change() event of <select> despite the value changed.

I want to force the change event by directly calling $('select').change() but I need to call it after the reset complete, what is the complete() event of the reset button that I should listen to? Is there a “resetcomplete” event on the button?

A 2 year old post on jQuery forums suggest to use a timeout function to delay the .change(). Is there a new way of doing things now?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:06:27+00:00Added an answer on June 18, 2026 at 12:06 pm

    I could have read this wrong, but are you looking for something similar to:

    $(document).on("click", "input[type='reset']", function(){
       $("select").trigger("change");
    });
    

    So whenever the user clicks the reset button, you trigger a change event for any selects.

    EDIT:

    Get the request from the click event and prevent the default behavior, reset the form and then trigger the change:

    $(document).on("click", "input[type='reset']", function(e){
      e.preventDefault();
      form = e.toElement.form;
      form.reset();  
      $("select",form).trigger("change");
    });
    

    EXAMPLE

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

^([0-9]*[1-9][0-9]*(\.[0-9]+)?|[0]+\.[0-9]*[1-9][0-9]*)$ I don't know regular expression well. Above regular expression does not allow input
is there a way to add an image to a regular <input type =
How can I write regular expression in C# to validate that the input does
I have tried this regular expression: (0[1-9]|[12][0-9]|3[01])\.(0[1-9]|1[012])\.(19|20)\d\d in an input of type text, where
I have a regular text box that people type input to. On keyup, I
I am looking for a regular expression to find all input fields of type
I'm thinking of using the input type=email to me new site but I have
I am trying to fix a regular input box with padding, border, inside a
I'd like to validate user input with regular expression in Django Admin CharField... How
I have a regular expression to validate a input value. At this point I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.