<input id="password" value="" type="password" autocomplete="off" name="password" onfocus="this.type='password'" datatype="*">
window.load = function(){
document.getElementById('password').value='';
};
<input id="password" value="" type="password" autocomplete="off" name="password" onfocus="this.type='password'" datatype="*">
window.load = function(){
document.getElementById('password').value='';
};