// `find` for locate element in a content $('#container') .find('a') .click(function() { alert('hi'); });
// search in the content using var var this= $('#container'); $('a', this) .click(function() { alert('hi'); }); just theory, i'm newbie in jquery ;) On 22 ene, 12:51, mtest <[EMAIL PROTECTED]> wrote: > Firstly, sorry for my english, but it's very important to me know the > answer :). > > For example there is such a code: > <dl> > <dt>Menu</dt> > <dd>SubMenu1</dd> > <dd>SubMenu2</dd> > <dd>SubMenu3</dd> > </dl> > > i call function: > $("dl").bind("mouseover", function(){ > > I get the object DL, witch now may to call like this or $ > (this): > > How I can get now DT or DD using this ? > > I know that can do like $("DL DT") or $("DL DD")? > > But now in $(this) I have yet selected DL > > How can i use this with selectors?? > > $("this DT") - not right > > $(this "DT") - not right > > $(this DT) - not right > > How???? > > Please help me :)