Avatar

Make passwords visible (Technics)

by Micha ⌂, Monday, April 13, 2009, 11:10 (5492 days ago) @ Arnd

Hi,

Didn't work in IE so I blocked that "browser" from this function.

You don't block it cocksure.

The type-attribute is set to readonly, therefore, it works correct in IE. A work-around to set/overwrite the type-attribute is the following:

 
var inp = null;
try {
 inp = document.createElement("input");
 inp.type = "password";
}
catch(err) {
 inp = document.createElement('<input type="password">');
}

regards Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences


Complete thread:

 RSS Feed of thread