As a user types in content to this this text field I would like thoforce the text to uppercase to as keys are pressed.How would this be done?and is toUpperCase a real jquery function? if not wbhat would be asimple way to hndle this with either CSS or someother method...Here is what I have and obviously I am stuck...<script type="text/javascript"> $(document).ready(function() { $('.highball').keypress( function() { $('.highball').toUpperCase() } ); } );</script><input type="text" style="" class="ac_input highball"autocomplete="off" id="CityLocal" value="" type="text">Frank

Replies(12)

Anybody?<div><span class="gmail_quote">On 9/25/07, <b class="gmail_sendername">FrankTudor</b> <<a href="mailto:frank.tudor@gmail.com">frank.tudor@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">As a user types in content to this this text field I would like thoforce the text to uppercase to as keys are pressed.How would this be done?and is toUpperCase a real jquery function? if not wbhat would be asimple way to hndle this with either CSS or someother method...Here is what I have and obviously I am stuck...<script type="text/javascript"> $(document).ready(function() { $('.highball').keypress( function() { $('.highball').toUpperCase() } ); } );</script><input type="text" style="" class="ac_input highball"autocomplete="off" id="CityLocal" value="" type="text">Frank</blockquote></div>