function togglere() { var thevalue; var select=document.Healthform.formdif; thevalue=select.options[select.selectedIndex].value; if (thevalue=='personal') {alert('check');document.getElementById('info').style.visibility == 'block'}; }