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 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: > > > > > I have a input = search and a form = form-search, > > well i need create action keypress on input search i do this: > > > > $(document).ready(function() { > > $('input #search') > > .keypress(function(){ > > $('#inf').fadeIn('normal'); > > }) > > }); > > > > but no sucess, > > > > so i try it: > > > > $(document).ready(function() { > > $('#search') > > .keypress(function(){ > > $('#inf').fadeIn('normal'); > > }) > > }); > > > > it`s ok but i want especify input first, i have two more objects with > > this id, no inputs normal divs.. > > > > exist ? > > $('input #search') or > > $('input > #search') or > > $('input search') > > ? > > > > tks > > > > > > > -- > Alexandre Plennevaux > LAb[au] > > http://www.lab-au.com -- att. Luciano M. www.m2t.com.br