Hi All,I'm having a weird issue error come up and I just want to understand why.Following a tutorial, I've written a simple script to make the password text 'dots' instead of the actual numbers: var passwordInput = document.getElementById("passwordInput");passwordInput.setAttribute("type", "password"); Works great, however I have to place the script on frame 2. If I put it on frame 1, I recvive this error pointing to the second line of code and it does not convert the numbers into dots:Uncaught TypeError: Cannot read properties of null (reading 'setAttribute') So when I put it on frame 2 it works fine. However, when I go to another page and I send the user back to the login screen (to frame 1 or 2, 0 or 1 in the code due to the HTML5 numbering) I get the error again, BUT this time it does continue to convert the numbers into dots. So it works, but I'm wondering why I'm still getting an error and if I should be doing something differently? Thank you ag