Menu
I have this script:
[code=php]function SelText()
{
if (document.form1.1c.value == “Portland”)
{
document.form1.1c.value = “”;
}
}
The problem is the “1c”. I have a form with an <input name=”1c”….
If i have a non-numerical name such as … <input name=”steve”…
the function works perfect, but it doesnt like the “1c” there.
I cannot change the name of “1c” as it is part of FORM that posts somewhere I don’t have access to.
Is there anyway to get around this?? I tried ” and ‘ around “1c” but that didnt work.
Thanks