title: Typeahead list is not loading based on 'change' event
body: <p>In rails 4.2.4, I am using <code>typeahead</code> jquery plugin for autocompletion of list. Right now typeahead list will load with custom params for the first time only. Second time list will not reload.</p>
  
  <p>In views,</p>
  
  <pre><code>$('#state_id').on('change', function(){
    $(".state-based-city").typeahead({
      ajax: {
        url: "/typeaheads/cities?id=" + $("#state_id :selected").val(),
        timeout: 500,
        displayField: "value",
        method: "get"
      }
    });
  });
  </code></pre>
  
  <p>As per this code, when I change the state value then city list will load based on it. Second time if I change the state value then city list will load based on old state value.</p>
  
  <p>How can I solve this issue?</p>