The browser compatibility issues continue. For some time there has been a problem dynamically changing an input element from text to password (and vice-versa). In most browsers (Chrome, FireFox included) this is a very simple task:
var elem = document.getElementById('myInputBox');
elem.type = 'password';
In *uhem* Internet Explorer (IE) this will throw an exception, as changing the type attribute directly is not possible.