function insertIntoPara(info) { var stuff; stuff = "
"; stuff = stuff + info; stuff += "
"; document.write(stuff); document.write("" + info + "
"); } function usingGetId() { var gotId = document.getElementById("trythis") gotId.innerHTML = "This is a paragraph from the function.
"; } function restoreGetId() { var msg = "This is the first paragraph within the div element note. It is also an element note and it "; var msg1 = "has the id attribute which can also be called a note when you lay things out."; var msg2 = "This is the second paragraph within the div element note, "; var msg3 = "it is the second paragraph element node within the paragraph."; var gotId = document.getElementById("trythis") gotId.innerHTML = "" + msg + msg1 + "
" + "" + msg2 + msg3 + "
"; }