To visible Drop down box onload if it has value;
Script:
It works fine in Firefox and had problem only in IE
Code:
function enableDrop(s) { if(document.getElementById(s).value != 0) { document.getElementById(s).style.visibility ='visible'; } return null; }
Code:
window.onload = enableDrop('ageCaffeinatedCoffee');
Comment