Created
August 26, 2014 15:56
-
-
Save Opus1no2/816c4fc91a77abcaa1da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addEvent(element, event, fn) { | |
if (element.addEventListener) { | |
element.addEventListener(event, fn, false); | |
} else if (element.attachEvent) { | |
element.attachEvent('on' + event, fn); | |
} | |
} | |
function newText() { | |
document.getElementById("ovText").innerHTML = "<span class='questionSpan reqQuestion'><label for='overall'>Overall Experience</label></span>"; | |
} | |
addEvent(window, 'load', newText); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment