Web Analytics Made Easy -
StatCounter Javascript CSS DOM question - CodingForum


No announcement yet.

Javascript CSS DOM question

  • Filter
  • Time
  • Show
Clear All
new posts

  • Javascript CSS DOM question

    Sorry, just realized I should have put this in the DOM forum! Please don't yell at me.

    I have a javascript document that uses the DOM function to insert code in the body of an HTML document. However, I'm unsure on how to tell it where to put the code in the document. It's keeps putting it at the end of my document and not where it's being called from. Could somebody give me an example of how to make sure the code is put between "<div id(or class)="test"></div>" tags?
    Last edited by FiZiX; Sep 26, 2006, 07:54 AM.