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. simbo67

    get all img elements in all divs where class=test

    so if im not concerned about ie6 as my website is aimed at mac users , can i use: document.querySelectorAll('div.test>img') with success..? only explorer 6 and below will fail is that correct..?
  2. simbo67

    get all img elements in all divs where class=test

    thanks guys... i like the look of that somewhere in the future one... why somewhere in the future..?
  3. simbo67

    get all img elements in all divs where class=test

    put it in a plain English way: search the entire document and return every instance of the div with the class "test" now look at those divs again and check to see if ant contain images. return all images that reside anywhere within any of the test divs. is there a way to do this by: var...
  4. simbo67

    get all img elements in all divs where class=test

    hi there i am pretty new to javascript, and i am trying my hardest to make this work. what i have so far: if (!document.myGetElementsByClassName) { document.myGetElementsByClassName = function(className) { var children = document.getElementsByTagName('*') || document.all; var elements =...

Part and Inventory Search

Back
Top