Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. studio66

    Traverse HTML DOM up to find a specific tag or id

    Hi. I would like to find if a specific selection or element is inside another node, but I would like to go from the bottom up. For example if a text node is inside a form node. <form id="theForm"> ... other nodes nested nodes my selection: <p>Test me</p> ... </form> <for id="anotherForm"> ...
  2. studio66

    How to select elements inside a selected node element?

    And if we add a link to each segment as follows? Does it makes any difference if there are other elements between "main-container" and the SPAN as far as they are still under the "main-container" DIV? <div id="main-container"> <a href="#"> <img src="pic1.jpg" <span>some text</span> </a> <a...
  3. studio66

    How to select elements inside a selected node element?

    How can I select the SPAN elements inside of a HTML code that has a pattern/structure as follows: <div id="main-container"> <img src="pic1.jpg" <span>some text</span> <img src="pic2.jpg" <span>other text</span> </div>

Part and Inventory Search

Back
Top