hi,
im new to this platform, i have been creating a web page using MS Front page and i need to insert a text area to give the input and another text area to store that,
[HTML] <form name="myform">
<div style="left: 456; top: 803; width: 707; height: 59; position: absolute">
<table border="0" cellspacing="0" cellpadding="5" ><tr>
<td><textarea name="inputtext " rows="1" cols="20"></textarea></td>
<input type="radio" name="placement " value="append" checked> Add to the text area<br>
<td><p> <b r>
<input type="button" value="Add New Text" onClick="addtex t();"></p>
</td>
<td><textarea name="outputtex t" rows="1" cols="20"></textarea></td>
</tr></table>
</form>
<script language="javas cript" type="text/javascript">
function addtext() {
var newtext = document.myform .inputtext.valu e;
document.myform .outputtext.val ue += newtext;
}
</script>
[/HTML]
but now i want to clear the text in the input text area to freashly enter another text, and the text should be entered ina separate line........... ..
can any one plzzzzzzzzz help me regarding the code........... .....
plzzzzzzzzzzzzz z
im new to this platform, i have been creating a web page using MS Front page and i need to insert a text area to give the input and another text area to store that,
[HTML] <form name="myform">
<div style="left: 456; top: 803; width: 707; height: 59; position: absolute">
<table border="0" cellspacing="0" cellpadding="5" ><tr>
<td><textarea name="inputtext " rows="1" cols="20"></textarea></td>
<input type="radio" name="placement " value="append" checked> Add to the text area<br>
<td><p> <b r>
<input type="button" value="Add New Text" onClick="addtex t();"></p>
</td>
<td><textarea name="outputtex t" rows="1" cols="20"></textarea></td>
</tr></table>
</form>
<script language="javas cript" type="text/javascript">
function addtext() {
var newtext = document.myform .inputtext.valu e;
document.myform .outputtext.val ue += newtext;
}
</script>
[/HTML]
but now i want to clear the text in the input text area to freashly enter another text, and the text should be entered ina separate line........... ..
can any one plzzzzzzzzz help me regarding the code........... .....
plzzzzzzzzzzzzz z
Comment