Documentation

Talk:Selectors/multiple

From jQuery JavaScript Library

Jump to: navigation, search

Hi, how to select the inner using this as parent continer for example if my code is some thing like this:

<div>
   <div>
      <button></button>
   </div>
</div>

i have some thing like code: $("div").each(function(){

$(this).find("button").click(); }); "

but i want to get button without using the find. Is it Any option to get the button element. some thing like this.

$(this).$("button")

Shiv