title: Django form submit on dropdown selection rather than submit button
body: <p>I have a table with lots of job data, and I have a dropdown menu and a submit button, which acts as a filter, so that the table only displays jobs based on the filter:</p>
  
  <pre><code>&lt;form&gt;
      &lt;select id="user_id_dropdown" name="user_id"&gt;
          &lt;option disabled selected&gt;Filter by Username&lt;/option&gt;
          &lt;option value="all"&gt;All Usernames&lt;/option&gt;
          &lt;option disabled&gt;────────────&lt;/option&gt;
          {% for user in users %}
              &lt;option value={{ user.id }}&gt;{{ user.username }}&lt;/option&gt;
          {% endfor %}
      &lt;/select&gt;
      &lt;input id="filter" class="btn btn-primary" type="submit" value="Filter" /&gt;
  &lt;/form&gt;
  
  &lt;table&gt;
  ...
  </code></pre>
  
  <p>How I've done it with the button is such that the user_id of the username is passed as a query string and my view handles it. Upon selecting a username (say it's user_id is 4) and clicking the submit button, the url is:</p>
  
  <pre><code>http://...jobs?user_id=4
  </code></pre>
  
  <p>Then I have a table below where all the jobs displayed are now only those created by <code>user_id</code> <code>4</code>.</p>
  
  <p>The thing is, now I just want to do away with the submit button and just submit the form on dropdown selection.</p>
  
  <p>I've tried to give the form a name and to submit when there is a change on selection:</p>
  
  <pre><code>&lt;form name='filter' method=POST&gt;
      &lt;select id="user_id_dropdown" name="user_id" onChange="filter.submit();"&gt;
      ...
  </code></pre>
  
  <p>But this doesn't seem to work. It does seem like the page reloads (similar to the submit button), but the table data doesn't change. What am I missing out here?</p>