<html>
<head>
<script type="text/javascript">
function confirmAction() {
return confirm("Do you really want to do this?")
}
</script>
</head>
<body>
<form action="" onsubmit="return confirmAction()" method="post">
<textarea name="comments" rows="6" cols="46"></textarea>
<input type="submit" value="Submit" />
</form>
</body>
</html>
|