hi,
I want to show the entered data in the textfield. by clicking on the button,but unable to do that.plz solve my this problem .I'm pasting the code below plz correct the code & tell me my mistake.
thanx
<html>
<head>
<title>Title here!</title>
</head>
<body>
<input type="button" ONCLICK="mush()" value="click me">
<input type="textarea" name="area" >
</textarea>
<?
echo "
<script language='javascript' >
function mush() { \n";
echo " alert( \"$area\" );
}
</script>";
?>
</BODY>
</html>
I want to show the entered data in the textfield. by clicking on the button,but unable to do that.plz solve my this problem .I'm pasting the code below plz correct the code & tell me my mistake.
thanx
<html>
<head>
<title>Title here!</title>
</head>
<body>
<input type="button" ONCLICK="mush()" value="click me">
<input type="textarea" name="area" >
</textarea>
<?
echo "
<script language='javascript' >
function mush() { \n";
echo " alert( \"$area\" );
}
</script>";
?>
</BODY>
</html>