Difference between revisions of "Template:Queens Canada/Scripts"

Line 14: Line 14:
 
weirdDiv.className = "";
 
weirdDiv.className = "";
 
weirdDiv.id = "";
 
weirdDiv.id = "";
 +
 +
var HQPage = document.getElementById("HQ_page");
  
 
for(i = 0; i < weirdDiv.children.length; i++) {
 
for(i = 0; i < weirdDiv.children.length; i++) {
 
       getMain.appendChild(weirdDiv.children[i]);
 
       getMain.appendChild(weirdDiv.children[i]);
       console.log(weirdDiv.children[i]);
+
       HQPage.appendChild(weirdDiv.children[i]);
 
}
 
}
 +
 +
weirdDiv.remove();
 +
 +
 +
  
 
</script>
 
</script>
  
 
<html>
 
<html>

Revision as of 00:06, 30 May 2020