HTML datalist: Is there a way to autocomplete based character order?
<p>If I enter "I" in the box, I get India, United States, United Kingdom and Israel.  REASON: All have an "i" in them...somewhere. This seems silly, to me any way. My thinking is it should only display India and Israel.  They have "i" in the first letter. Is there a trick to get this to happen? To get the suggested items to take note of the order of the letters?</p>

<pre><code>    &lt;!DOCTYPE html&gt;
    &lt;html&gt;
    &lt;head&gt;
    &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
    &lt;input type="text" list="countries" name="mycountry" /&gt;
    &lt;datalist id="countries"&gt;
        &lt;option value="India"&gt;India&lt;/option&gt;
        &lt;option value="United States"&gt;United States&lt;/option&gt;
        &lt;option value="United Kingdom"&gt;United Kingdom&lt;/option&gt;
        &lt;option value="Germany"&gt;Germany&lt;/option&gt;
        &lt;option value="France"&gt;France&lt;/option&gt;
        &lt;option value="Israel"&gt;Israel&lt;/option&gt;
    &lt;/datalist&gt;
    &lt;/body&gt;
    &lt;/html&gt;
</code></pre>