(24 апр 2013, 18:55) (
1/
0)
[
1]
<html>
<head>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />
<title></title>
<script type=\"text/javascript\">
function resetValue(elem)
{
elem = document.getElementById(elem);
elem.value = \"\";
}
</script>
</head>
<body>
<form>
<textarea id=\"textarea\"></textarea>
<input type=\"button\" onclick=\"resetValue(\'textarea\');\" value=\"Очистить\"/>
</form>
</body>
</html>