How o selecting the letter(capital small letter) in the jquery
<p>i have a text box,</p>

<p>in that text box i have some data example </p>

<p><code>Apple,apple,Bat,boll,Cat,Dog</code>...</p>

<p>when i type A it displays <code>Apple,apple</code> list  and <code>apple</code> list.(i.e. it displays <strong>two</strong> list)</p>

<p>so i codded to allow <strong>one</strong> list i.e.(<code>Apple,apple</code>)</p>

<p><strong>update</strong>  </p>

<pre><code>            var character = causeFirstLetter;
           if (character == character.toUpperCase()) {
                   $(".sidemenu").append("&lt;li&gt;"+"&lt;label style='background-color:#C1CDD9;font-size:20px' align='left' &gt;"+causeFirstLetter+ "&lt;/label&gt;"+"&lt;/li&gt;"+"&lt;hr style='border:1px solid #EBEBEB'/&gt;");
    }
</code></pre>

<p>now my problem is when i type small letter "a" it wont allow.How to rectify this problem?</p>
