Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8770359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:32:49+00:00 2026-06-13T17:32:49+00:00

Here is the code: <div id=divFrame> <div> <img /> </div> <div> </div> <p> </p>

  • 0

Here is the code:

<div id="divFrame"> <div> <img /> </div> <div> </div> <p> </p> </div>

I want to select all these elements.
I have tried the following with no luck

#divFrame *
#divFrame > *

Any idea ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T17:32:50+00:00Added an answer on June 13, 2026 at 5:32 pm

    Neither will select all elements. The first will select all descendants (children and grandchildren), while the second only selects the children of the div, namely the two divs and the p, but not the img. Neither will select #divFrame itself.

    To select them all, you will need

    #divFrame, #divFrame *
    

    This is actionally a combination of two selectors. The first selects #divFrame while the second selects all its descendants.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code here, {foreach from=$cart.cartItems item=item name=cart} <div id=cart2Produkt> <p>{if $item.Product.ID} <a
So I have this code here: <table> <tr> <td width=200px valign=top> <div class=left_menu> <div
here is my code <div id=content_main2> <div id=content_main2_left><img src=../images/logo.png></div> </div> css #content_main2 { width:800px;
Here is the code: <div><a><img src= http://www.seeklogo.com/images/R/Random_House_Bertelsmann-logo-B80776D5CA-seeklogo.com.gif/>Test</a>​​​​​​​​​<div>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ Here is the fiddle: http://jsfiddle.net/zjfw2/ Thanks.
In the site i'm creating ( http://ieangh.kroltan.eliti.com.br/ - all code here), my #content_wrap div
Check out code here ! These are my problems: Div won't toggle to hide
I updated my code here: <div class=selector> <h2 class=heading>Choose A Date</h2> </div> <img class=page-img
``enter code here<%= form_for(@person) do |f| %> <% if @person.errors.any? %> <div id=error_explanation> <h2><%=
I have some basic code here. It just creates a div element to a
So I have the jquery code here: $(document).ready(function(){ $(div.post.photo).hover(function () { $(this).children(div.show).slideToggle(fast); }); });

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.