05-31-2005, 04:31 PM
05-31-2005, 05:05 PM
The backslash is read by the browser as an escape character, meaning that the character that follows the backslash should be taken literally (rather than interpreted as a special character).
To get the backslash to appear as part of a string - in this case, your password - escape it (i.e. escape the backslash)
When you autofill the password value, escape the backslash, by placing a backslash before it.
document.forms.elements.value = 'E032\\j1';
When you alert that form field value, it should give the correct password, including the single backslash.
05-31-2005, 05:11 PM
Thank you, that worked fine.