/ Published in: JavaScript
// Changes the innerHTML of the first arg (object ID) into the secong arg (string)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function changeInnerHtml() { var args=changeInnerHtml.arguments; if ((obj=MM_findObj(args[0])) != null) { obj.innerHTML = args[1]; } }