title: How do I call a function or a method on a select list if the value changes?
body: <p>I have a scenario where if I change the value of a select list I want to be able to clear the model or any values I want to clear. Is it possible to call a function or a method in a select tag helper? Something like this:</p>
  
  <pre><code>&lt;select asp-for="Input.DriverName" class="form-control"
                                  asp-items="Model.DriverNotUser"
                                 onchange="myfunction()"&gt;
  &lt;/select&gt;
  </code></pre>