Results 1 to 3 of 3
Apr 9, 2003, 10:16 #1
- Join Date
- May 2002
- Vancouver, BC
- 0 Post(s)
- 0 Thread(s)
shortening form element references.
Quick question. I have a big js function which keeps referencing elements of a form like so:
How could I just capture the "document.name_of_form" bit into a shorter variable, like "a"?
It gets used so often, that would actually make my html file smaller!!