I'm working on a web-based logon screen that needs to work on both the Unix and Windows operating systems. I want the username and password fields to be cleared each time the page is loaded for security purposes. I used the following code to accomplish this in Windows:
<body onload="document.formname.password.value=''; document.formname.username.value='';document.formname.username.focus()">
Very Simple.
In Windows this is sufficient, but in Unix the password field is not cleared. Any suggestions?
Thanks in advance.
<body onload="document.formname.password.value=''; document.formname.username.value='';document.formname.username.focus()">
Very Simple.
In Windows this is sufficient, but in Unix the password field is not cleared. Any suggestions?
Thanks in advance.