Last active
February 12, 2016 08:22
-
-
Save mrfoxtalbot/f7553c0d0ebb4eee8d72 to your computer and use it in GitHub Desktop.
Ejemplo de un Toggle encapsulado
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
jQuery( document ).ready(function($) { | |
$( "#someid p" ).click(function() { | |
$( this ).toggleClass( "activo" ); | |
}); | |
;}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment