Click to See Complete Forum and Search --> : d'oh!


shutuploser[gk]
11-21-2003, 09:20 PM
i need help with forms, im tryig to make this form so you can choose what you want and then the confirmation page will tell you what you picked...

here it is:

<html>
<head
<title>Pick how much you want!</title>
<script language="JavaScript">
function shopList(){
var done=0
if (a==1 && aq==aa && done==1)
document.write ("thingy - ")
}
}
</script>
</head>
<body>
<form>
<input type="checkbox" name="a">
thingy
<select name="aa">
<option>1
<option>2
<option>3
<option>4
<option>5
</select>
<input type="button" value="Done!" name="done">
</form>
</body>
</html>

fredmv
11-21-2003, 09:46 PM
<form action="#">
<select onchange="alert('Selection: ' + options[selectedIndex].value);">
<option value="a">a</option>
<option value="b">b</option>
<option value="c">c</option>
<option value="d">d</option>
</select>
</form>