[thelist] Didja know??

.jeff jeff at members.evolt.org
Mon Jun 25 20:11:31 CDT 2001


anthony,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Anthony Baratta
:
: (..trying hard to not be a rant...)
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

...which it shouldn't be if you understand the connection between the
objects, their names/ids, and referencing them via script.

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: IE does not like your form fields to be all
: numbers, (or possibly start with a number,
: I didn't have time to test all outcomes)
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

the problem is even larger than just form fields.  it's anything that has a
name or id attribute.  if you want to access those objects via script, the
value of the name or id attribute must follow normal variable naming
conventions.  that means they can be made up of letters (either case),
numbers, underscore (_), and dollar sign ($).  however, the first character
must be a letter (either case), underscore (_), or dollar sign ($).  you
cannot use a number as the first character.

as a sidenote, you should never use a reserved word as the value of a name
or id attribute of an object that you wish to access via script.

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thelist mailing list