How to use js to simulate text as a password type?

since my website does not use https, to access the login page of my website under firefox, firefox will clearly indicate that the link to this site is not secure and the login information entered will be stolen.

I would like to ask, how can I change this password form to text, without changing the site to https access, but also display it as an asterisk when the user enters the password?

I"m not asking how to simply change the input type attribute from text to password. Don"t answer that, thank you!


acem , let's just https. It's free and simple. Why not

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be99a3-31997.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be99a3-31997.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?