Código HTML:
<input type="button" onclick="verFestividades();" id="botonVerFestividades" value="Ver festividades del mes" />
Código:
function verFestividades(){
if (document.getElementById('botonVerFestividades').value=='Ver festividades del mes'){
document.getElementById('verFestividades').style.display= 'block';
document.getElementById('botonVerFestividades').value ='Ocultar festividades';
}
else{
document.getElementById('botonVerFestividades').value='Ver festividades del mes';
document.getElementById('verFestividades').style.display = 'none';
}
}
Código HTML:
<div id="verFestividades" align="left"></div>

