thread216-1689833
I am not a javascript programmer but am trying to trouble shoot a problem running on our server that seems similar to the above thread.
In Chrome I cannot login to the application because it stops on the below line with this error message, "Uncaught TypeError: Property 'forms' of object #<HTMLDocument> is not a function ".
Chrome
<script>function SetFocus(){document.forms('FORM').USERNAME.focus();document.forms('FORM').USERNAME.select();}window.onload = SetFocus;</script>
In IE8 I receive the error message, " 'document.forms(...).QueryGUID' is null or not an object" and the code is below. I can login in to the application in IE8, but eventually get kicked back to the login screen.
<script>function SetFocus(){document.forms('FORM').QueryGUID.focus();document.forms('FORM').QueryGUID.select();}window.onload = SetFocus;</script>
Not sure if more info is needed as I am not knowledgeable in Javascript, but spent the entire day looking through the code this is used with and got no where. Thanks for any help.
I am not a javascript programmer but am trying to trouble shoot a problem running on our server that seems similar to the above thread.
In Chrome I cannot login to the application because it stops on the below line with this error message, "Uncaught TypeError: Property 'forms' of object #<HTMLDocument> is not a function ".
Chrome
<script>function SetFocus(){document.forms('FORM').USERNAME.focus();document.forms('FORM').USERNAME.select();}window.onload = SetFocus;</script>
In IE8 I receive the error message, " 'document.forms(...).QueryGUID' is null or not an object" and the code is below. I can login in to the application in IE8, but eventually get kicked back to the login screen.
<script>function SetFocus(){document.forms('FORM').QueryGUID.focus();document.forms('FORM').QueryGUID.select();}window.onload = SetFocus;</script>
Not sure if more info is needed as I am not knowledgeable in Javascript, but spent the entire day looking through the code this is used with and got no where. Thanks for any help.