<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>CW PrototypeJS Dersleri.</title>
		<script type="text/javascript" src="/jslibs/prototype.js"></script>
		<script type="text/javascript">
		
		function serkan_settext()
		{
			var inputValue = $('inputvalue').value;
			var hangiDiv = $('testdiv');
			hangiDiv.innerHTML = inputValue;	
		}
		</script>
	</head>
	<body>
		<fieldset style="width:300px;">
			<legend>Ders</legend>
			
			<input type="text" id="inputvalue" />
			<input type="button" value="Goster" onclick="serkan_settext();" />
			<br>
			<div style="border:1px solid black; padding:2px; width: 280px;" id="testdiv"></div>
		</fieldset>
	</body>
</html>