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
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
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
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
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:
5 matches
Mail list logo