No problem :) On 9/26/07, Frank Tudor <[EMAIL PROTECTED]> wrote: > > ok thanks for everyone clearing this up for me. > > On 9/26/07, Joan Piedra <[EMAIL PROTECTED]> wrote: > > > > Just use the text-transform rule, and then process your string and > > convert it to uppercase via server-side. Or you could also transform it > > before you send the data with the onsubmit event. > > > > On 9/26/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > > > > > It's CSS 2. But it should be this: > > > input { > > > text-transform: uppercase; > > > } > > > > > > However, that will only change the way the text is displayed, not the > > > actual case of the text itself. > > > > > > --Karl > > > _________________ > > > Karl Swedberg > > > www.englishrules.com > > > www.learningjquery.com > > > > > > > > > > > > On Sep 26, 2007, at 9:32 AM, Danjojo wrote: > > > > > > > > > omgosh.. I did not even know CSS could do that! > > > > > > Is that CSS-2? or -3? > > > > > > > > > On Sep 26, 9:18 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > > > > > > Why would you even want to use Javascript for this? Just use CSS: > > > > > > input { > > > text-decoration: uppercase; > > > > > > } > > > > > > _____ > > > > > > From: jquery-en@googlegroups.com > > > [mailto:jquery-en@googlegroups.com<jquery-en@googlegroups.com>] > > > On > > > Behalf Of Frank Tudor > > > Sent: Tuesday, September 25, 2007 12:30 PM > > > To: jQuery (English) > > > Subject: [jQuery] Re: input type text toUpperCase() jquery question > > > > > > Anybody? > > > > > > On 9/25/07, FrankTudor < [EMAIL PROTECTED]> wrote: > > > > > > As a user types in content to this this text field I would like tho > > > force 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 a > > > simple 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 > > > > > > > > > > > > > > > > > > > > > > > > -- > > Joan Piedra || Frontend web developer > > http://www.justaquit.com/ || http://www.joanpiedra.com/ > > >
-- Joan Piedra || Frontend web developer http://www.justaquit.com/ || http://www.joanpiedra.com/