[Javascript] forms and js

Paul McGuire pmcguire at cguk.co.uk
Wed Mar 3 10:31:28 CST 2004


The below code wont work because of the brackets in the form name. I cant do anything about those brackets the nature of the program means there there. How can I write to that form text field with JS if brackets (or other special characters) are there?


<form NAME="TESTTEST" action="">
<input type="text" name="(TEST)">
</form>

<SCRIPT>
TESTTEST.(TESTS).value = 'HELLO';
</SCRIPT>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040303/22a7f1b2/attachment.htm>


More information about the Javascript mailing list