Guest_imported
New member
- Jan 1, 1970
- 0
I've got a textbox in a form with the initial value acting as the description for that field. When a user clicks on the box, the description disappears, thus leaving an empty space for input. So far, so good:
However its a password entry and I would like it to display "*****" once that initial descriptive text has gone. I think this means changing the code from <input type = "text"> to <input type = "password"> . Can this be done with Javascript once someone clicks in the textbox, as at the moment I'm drawing a blank?
However its a password entry and I would like it to display "*****" once that initial descriptive text has gone. I think this means changing the code from <input type = "text"> to <input type = "password"> . Can this be done with Javascript once someone clicks in the textbox, as at the moment I'm drawing a blank?