Demo
Change TextBox TextMode to Password using JavaScript
Password