[jQuery] how do it?
[jQuery] how do it?
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