Hello there, I am using the toggle function from jQuery and for some reason is not working, this is what I have:
$(document).ready(function(){
var flip = 1;
$("#tg1").click(function () {
$("#tg1-contenido").toggle( flip++ % 2 == 0 );
});
}
I don't know what I am doing wrong, any help would be greatly appreciated. Thanks!