$('.target', '#context')[0]

Karl Rudd

On Wed, Apr 2, 2008 at 6:53 AM, Jesse <[EMAIL PROTECTED]> wrote:
>
>  I have a feeling I'm just missing something in the documentation, but
>  is there anyway to get a standard DOM object to return from a jquery
>  selector?
>
>  <div id="context">
>    <div class="target"></div>
>  </div>
>
>  Essentially I want a way for $('.target', '#context')  to give me the
>  equivalent of
>  document.getElementById('context').getElementsByTagName('div')[0]
>

Reply via email to