Note: Adds a string inside the element. Syntax: textNodeName.insertData(param1, param2) // IE only document.getElementById("commentID").insertData(param1, param2) document.all.commentID.insertData(param1, param2) // IE only Parameters: param1 Required; the character position. param2 Required; the string to be inserted.