title: Edit jquery editable select
body: <p>I need a little help for this script. It is a <a href="http://indrimuska.github.io/jquery-editable-select/" rel="nofollow">jQuery Plugin</a> that converts a select into an text field with suggestions. When I use it in a form it submits the text not the value. </p>
  
  <p>How can I use get the value of options not the text?</p>
  
  <p>Example:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link rel="stylesheet" href="https:rawgithub.com/indrimuska/jquery-editable-select/master/dist/jquery-editable-select.min.css"&gt;
  
  &lt;form action="http://stackoverflow.com/questions/38437449/edit-jquery-editable-select/" method="get"&gt;
   &lt;select id="basic" name="basic"&gt;
    &lt;option value="0"&gt;Zero&lt;/option&gt;
    &lt;option value="1"&gt;One&lt;/option&gt; 
    &lt;option value="2"&gt;Two&lt;/option&gt; 
   &lt;/select&gt;
   &lt;input type="submit" value="Submit" /&gt;
  &lt;/form&gt;
  
  
  &lt;script src="https://code.jquery.com/jquery-1.12.4.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://rawgithub.com/indrimuska/jquery-editable-select/master/dist/jquery-editable-select.min.js"&gt;&lt;/script&gt;
  &lt;script&gt;
  window.onload = function () {
   $('#basic').editableSelect();
  }
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>It should send <code>"000"</code> not <code>"zero"</code>, and results in <code>domian.com/page.php?data=000</code> not <code>domian.com/page.php?data=zero</code>.</p>