title: Convert to upper case while typing, with some delay
body: <p>I used following codes to convert to upper case while typing. </p>
  
  <pre><code>      $(".input_capital").live('keypress', function(e)
        {
          var defaultStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
          var checkstr = $(this).val();
          var str1 = '';
          for (i = 0; i &lt; checkstr.length; i++)
          {
              var ch = checkstr.charCodeAt(i);
               if (ch&gt;=97 &amp;&amp; ch&lt;=122){
                  str1 += defaultStr.charAt(ch-97);
               }else{
                  str1 += checkstr.charAt(i);
                }
          }
          $(this).focus();
          $(this).val(str1);
       });
  </code></pre>
  
  <p>And the following code</p>
  
  <pre><code>  $(".input_capital").live('keypress', function(e)
    {
         $(this).val($(this).val().toUpperCase());
    });
  </code></pre>
  
  <p>all these above code is working fine. But for user able to view lower cases for some time. After that only its converting to upper case. </p>
  
  <p>I tried with '<code>text-transform: uppercase</code>' in css. But it is not working in Samsung tab with Android Os. Please anybody help me to achieve this by script.</p>