Yes, you can go $( this ).children( 'p' ).hover( function () { ... :)
On May 8, 3:28 pm, bobh <[EMAIL PROTECTED]> wrote: > hello, > > I'm wondering if there is such a thing as: > > $("div").hover( > function(){ > $(this."p").show(); > }, > function(){ > $(this."p").hide(); > } > ); > > I know the above code is useless because of the use of "this" but I > wonder if there's a selector that does this? > > the objective would be to show/hide the paragraph inside the div which > is being hovered > > <div> > <h1></h1> > <p></p> > </div> > <div> > <h1></h1> > <p></p> > </div> > <div> > <h1></h1> > <p></p> > </div> > ... > > thank you