In the <head> section:
var mynumber= 7;
var myanimal = ‘dog’;
[CODE]<td valign=”top” colspan=”2″><textarea name=”message” rows=”4″
wrap=”physical” cols=”50″ onchange=”checkMaxLength(this,1000)”
onkeydown=”checkMaxLength(this,1000)” onkeyup=”checkMaxLength
(this,1000)”>
I NEED TO ENTER TEXT VALUES HERE eg number is 7, animal is a
dog.
</textarea><br><span class=”help” id=”message_help”>Enter up to
characters. 1000. No HTML, asterisks, or quotes. </span><script
type=”text/javascript” language=”JavaScript”>
I tried:
[CODE]<td valign=”top” colspan=”2″><textarea name=”message” rows=”4″
wrap=”physical” cols=”50″ onchange=”checkMaxLength(this,1000)”
onkeydown=”checkMaxLength(this,1000)” onkeyup=”checkMaxLength
(this,1000)”>
number is <SCRIPT>document.write(mynumber)</SCRIPT>,
animal is a <SCRIPT>document.write(‘myanimal’)
</SCRIPT>.
</textarea><br><span class=”help” id=”message_help”>Enter up
to characters. 1000. No HTML, asterisks, or quotes. </span>
<script type=”text/javascript” language=”JavaScript”>
But it didnt work. How do you insert variables into body table text such as this? Sorry to ask such a dumb question. Cheers