Hide Show Password in Bootstrap

Hide Show Password This tutorial teaches you how to create a password preview button in bootstrap login form . When the user clicks the preview button, the jQuery snippet captures the click event and changes the password type to text. In case if it is in text mode, it changes its type to password. Copy the code, save the file with index.html and preview it in Browser. Then you will see the output as shown in below image. Now click the preview button and check how it is working. If any question pleases comment below. index.html <!DOCTYPE html> <html lang= "en" > <head> <title>Toggle password Example </title> <meta charset= "utf-8" > <meta name= "viewport" content= "width=device-width, initial-scale=1" > <link rel= "stylesheet" href= "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" > <link rel= 'stylesheet' h...