What about

$('#context .target')

Or

$('#context div')

Allex

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jesse
Sent: Tuesday, April 01, 2008 12:37 PM
To: jQuery (English)
Subject: [jQuery] Standard DOM returned from jQuery selector



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