Quantcast
Channel: ASPSnippets RSS Feed
Viewing all articles
Browse latest Browse all 4777

Dynamically change HTML INPUT Type using jQuery

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

Viewing all articles
Browse latest Browse all 4777