All pastes #605536 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-06 08:15 UTC
rendered paste body
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Untitled</title>
	
	<script type="text/javascript">
	
		function OnSelectChange()
		{
			alert(document.getElementById('SelectBox').value);
			document.getElementById('test').innerHtml = document.getElementById('SelectBox').value;
		}
	
	</script>	
	
</head>

<body>

<div id='test'>&nbsp;</div>                

<br/><br/>

<select id="SelectBox" size="10" onchange="OnSelectChange()">
<option>Test1</option>
<option>Test2</option>
</select>

</body>
</html>