Skip to content

Instantly share code, notes, and snippets.

@mrfoxtalbot
Created January 25, 2016 21:14
Show Gist options
  • Save mrfoxtalbot/c2e6999c80eca60355d3 to your computer and use it in GitHub Desktop.
Save mrfoxtalbot/c2e6999c80eca60355d3 to your computer and use it in GitHub Desktop.
Vainilla JS add CSS class
<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