// JavaScript Document function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } function validateListBox(){ var listBoxSelection=document.getElementById("widthfeet").value; if(listBoxSelection==0){ alert("Please select The Door Width to continue"); return false; }else{ return true; } } function validateListBoxnumerodos(){ var listBoxSelection=document.getElementById("heightfeet").value; if(listBoxSelection==0){ alert("Please select The Door Height to continue"); return false; }else{ return true; } } function OnSubmitForm() { if(document.form1.panel[0].checked == true) { document.form1.action ="/Garage-Door-Builder/garage-door/bronze/raised-panel/garage-door-color.php"; } else if(document.form1.panel[1].checked == true) { document.form1.action ="/Garage-Door-Builder/garage-door/bronze/ranch-panel/garage-door-color.php"; } return true; } function noSevenThree(hfeet) { /* var inchheight = document.getElementById("heightinches"); document.getElementById("heightinches").innerHTML = ""; if (hfeet == 7) { var incharray = ["0", "6", "9"]; } else { var incharray = ["0", "3", "6", "9"]; } for (i = 0; i < incharray.length; i++) { var option = incharray[i]; var selection = document.createElement("option"); selection.textContent = option + "\""; selection.value = option; inchheight.appendChild(selection); } */ } $( document ).ready(function() { noSevenThree(document.getElementById("heightfeet").value); });