0

jQuery(document).ajaxComplete(function(){
jQuery('input.textfield[name="booked_appt_password"]').focus(function() {
    jQuery('input.textfield[name="booked_appt_password"]').attr('type', 'text');
}).blur(function() {
   jQuery('input.textfield[name="booked_appt_password"]').attr('type', 'password');
});
var randomstring =  Math.random().toString(36).substring(2, 12) + Math.random().toString(36).substring(2, 6);
jQuery('input.textfield[name="booked_appt_password"]').val(randomstring);	
});

Jagdish Sarma Asked question May 11, 2021
Add a Comment