R
roN
Hi, How do I access the entered text in a text area, following is not
working: document.Formular.input1.value
Thank you!
working: document.Formular.input1.value
Thank you!
Hi, How do I access the entered text in a text area, following is not
working: document.Formular.input1.value
Thank you!
Lee said:roN said:
<html>
<head>
<script type="text/javascript">
function showValue() {
alert(document.Formular.input1.value);
}
</script>
</head>
<body>
<form name="Formular">
<textarea name="input1">Sample text</textarea>
<br>
<input type="button" value="Show Value" onclick="showValue()">
</form>
</body>
</html>
<tr>
<td width="22%" align="right" class="text">Comments/<br>Questions:<br><br>
chars left: <span id="charsleft"></span></td>
<td valign="top" width="78%" class="text"><textarea name="comments"
onkeyup="count(event)" rows="8" cols="40" class="flat"></textarea></td>
</tr>
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.