gecko/layout/html/tests/formctls/bugs/bug109316.html

65 lines
1.1 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>Page</title></head>
<body>
<script type="application/x-javascript">
function OKclicked(){
document.GUI.cases.value = "kkk" //document.GUI.choice1.value
}
</script>
<form name="GUI" action="get">
<fieldset>
<legend>
Questions
</legend>
<center>
Something
<select name="choice1">
<option value="0">increased
<option value="1">decreased
<option value="2">same
<option value="3">don't know
</select><br>
Something else
<select name="choice2">
<option value="0">increased
<option value="1">decreased
<option value="2">same
<option value="3">don't know
</select><br>
And something else
<select name="choice3">
<option value="0">increased
<option value="1">decreased
<option value="2">same
<option value="3">don't know
</select><br>
<br><input type="button" value=" OK " onclick="OKclicked()"><br>
</center>
</fieldset>
<h2>Cases</h2>
<textarea name="cases" readonly rows=6 cols=60>
Here you will see cases. Select "decreased", "increased" and "same" then click
OK.
</textarea>
</form>
</body>
</html>