Monday, February 17, 2014

SHOW HIDE PASSWORD USING JQUERY

Using JQuery show hide password with a button

Introduction:

   The password text field sometime required a show hide password option that time we can make use of jquery plugins.

In my example I am using jquery 1.10.2 plugin.

Description:

   In my example I am using visual studio 2010, to begin the task first we need to create a html or aspx page with the necessary controls, ie., password text box and a button.

as shown below




here I am using two input type password and a textbox..
using hide and show we going to display the contents.

After designing we have to use the script as like BELOW,

Now, run the application and type the password and click the button it will show and hide according to the display of textbox.
******************************************************

No comments:

Post a Comment