Here Mudassar Ahmed Khan has explained with an example, how to dynamically change HTML INPUT Type from Password to Text using JavaScript.
HTML does not allow the Type attribute to be modified with JavaScript at runtime and hence the same can be achieved by creating a dynamic TextBox next to the Password TextBox and hiding the Password TextBox.
↧