Created
January 25, 2016 21:14
-
-
Save mrfoxtalbot/c2e6999c80eca60355d3 to your computer and use it in GitHub Desktop.
Vainilla JS add CSS class
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
<script> | |
var element = document.querySelector("#docentes .fusion-column"); | |
element.onPress.className += " activo"; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment