I am referencing a portion of a form field name using the following statement:
document.forms(0).elements.name.substring(0,3)
This is working as expected :- it extracts the first 3 characters of the referenced form elements name field.
I am getting unexpected results when the arguments for the substring command are (3,3).
So I set out to find information on this command but find myself wondering if the substring function is part of DOM or COM or maybe even JavaScript or VBscript.
Can you direct me to a resource for this syntax.
Thanks
document.forms(0).elements.name.substring(0,3)
This is working as expected :- it extracts the first 3 characters of the referenced form elements name field.
I am getting unexpected results when the arguments for the substring command are (3,3).
So I set out to find information on this command but find myself wondering if the substring function is part of DOM or COM or maybe even JavaScript or VBscript.
Can you direct me to a resource for this syntax.
Thanks