How do I write &# characters in textareas with javascript? This won't work:
Code:
<HTML>
<HEAD>
<SCRIPT>
function load()
{
document.text.textarea.value = "The character is : &\#100;"; //Delete the '\'
}
</SCRIPT>
</HEAD>
<BODY onload="load()">
<FORM name="text">
<TEXTAREA name="textarea">
</TEXTAREA>
</BODY>
</HTML>
What this should do is make a textbox with the &#\100; (no '\') character ('d') in it, but it doesnt...
EDIT: I think this is a lot easier in VBscript so I might try it in there.
EDIT2: Oh damn, not everyone has VB!