Forgive my ignorance, but what I am trying to do is have a form where one of the select boxes does not appear unless another select box's option is selected. For Example one select is either Screws or Nails, if Screws is selected then another select box should appear and will have "coarse" or "fine" in it. This is what I have so far. This is only a test snipet. Thanks in advance.
Here is my code:
<html>
<head>
<script type="text/javascript">
var text1;
function newSelect() {
var list = document.forms[0].select1;
if(list.options[list.selectedIndex].value == "Screws") {
var text1 = 1;
}else{
var text1 = "";
}};
</script>
</head>
<body>
Bookmarks