Created
September 29, 2016 16:01
-
-
Save fgilio/4842bc9df99d30ebed0e7a73d39b9e95 to your computer and use it in GitHub Desktop.
Remove onclick attribute from DOM element
This file contains 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
document.getElementById('remove-onclick').removeAttribute("onclick"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment