Hey. I'm looking for a solution that will create, fill and display a container in javascript directly beneath a specific element (no whitespace, margins w.e)
scru
909
Posting Virtuoso
Featured Poster
Recommended Answers
Jump to Post<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <script type="text/javascript"><!-- function insertAfter(parent, newNode, referenceNode) { parent.insertBefore(newNode, referenceNode.nextSibling); } window.dynamicNodeCount=0; function addElement() { window.dynamicNodeCount++; var dad = document.getElementById('container'); var elementAboveNew = document.getElementById('sib1'); var …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.