Well, $('abc').childNodes will get you the 3 tags you mention, but do
you also want possible children of those tags too?

On 7/3/06, Daniel Elmore <[EMAIL PROTECTED]> wrote:
Is there a function that returns all the elements of a particular tag within
a particular ID.

Example:

<div ID="abc">
        <span></span>
        <p></p>
        <span></span>
</div>

Now I want all the SPAN elements under ID "abc". Also would the SPAN tags
need an ID themselves?

Thanks!

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to