[jQuery] Re: how do it?

2008-05-07 Thread Luciano Mazzetto
I try do your example, but no make upper-case, so i try: $(this).val($(this).val().toUpperCase()); and got success without problems, onkeyup all upunts make this value for upper-case... thank`s On Tue, May 6, 2008 at 5:47 PM, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Luciano, > If you're

[jQuery] Re: how do it?

2008-05-06 Thread Karl Swedberg
Luciano, If you're trying to get the value of an element with an ID of "search", and make it upper-case, do this: $('#search').val().toUpperCase(); --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On May 6, 2008, at 3:10 PM, Luciano Mazzetto wrote: sur

[jQuery] Re: how do it?

2008-05-06 Thread Luciano Mazzetto
sure!, but i need do it ? $('input#search').toUpperCase(); // ??? On Tue, May 6, 2008 at 12:27 PM, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > first, get your markup correct: if you need to use several times the same > ID, then use a CLASS instead. ID are for UNIQUE entities. > > besides

[jQuery] Re: how do it?

2008-05-06 Thread Luciano Mazzetto
sorry, i do this it and return ERROR no function.. $('input#search').toUpperCase(); On Tue, May 6, 2008 at 4:10 PM, Luciano Mazzetto <[EMAIL PROTECTED]> wrote: > sure!, but i need do it ? > > $('input#search').toUpperCase(); // ??? > > > > On Tue, May 6, 2008 at 12:27 PM, Alexandre Plennevaux

[jQuery] Re: how do it?

2008-05-06 Thread Alexandre Plennevaux
first, get your markup correct: if you need to use several times the same ID, then use a CLASS instead. ID are for UNIQUE entities. besides that, this $('input #search') should be $('input#search') Hope this helps! alex On Tue, May 6, 2008 at 3:46 PM, Luciano <[EMAIL PROTECTED]> wrote: