change input type text to password in jquery code example
Example: convert text filed to password field in jquery
$('input').on('click', function () {
$(this).attr('type', 'password');
});
$('input').on('click', function () {
$(this).attr('type', 'password');
});