1function myFunction() {
2 var x = document.getElementById("*passwordbox-id*");
3 if (x.type === "password") {
4 x.type = "text";
5 } else {
6 x.type = "password";
7 }
8}
1//Javascript show all password textboxes script by me
2var k = document.getElementsByTagName('input')
3for(i=0;i<k.length;i++){
4 if(k[i].type = "password"){
5 k[i].type = "text"
6 }
7}