<!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. Ders D</title>
		<script type="text/javascript" src="/jslibs/prototype.js"></script>
		<script type="text/javascript">
		
		function serkan_showclearcode()
		{
			var resultdiv = $('clearcode');
			var htmlcode = $('htmlcode').value.stripTags();
			
			resultdiv.innerHTML = htmlcode;
		}
		
		</script>
		<style type="text/css">
			.legend { border:1px solid black; font-family:"Helvetica"; width: 400px;}
			.fieldset {font-family: "Helvetica"; width: 400px;}
		</style>
	</head>
	<body onload="$('htmlcode').focus();">
		<fieldset class="fieldset">
			<legend class="legend">Form</legend>
			<b>HTML Code:</b><br>
			<textarea rows="5" cols="50" id="htmlcode"></textarea>
			<input type="button" value="Show clear code" onclick="serkan_showclearcode();" />
			<hr>
			<div id="clearcode"></div>
		</fieldset>
	</body>
</html>