<! DOCTYPE html > < html > < head runat ="server"> < title > Show Hide Password </ title > <% --Include jQuery Library-- %> < script type ="text/javascript" src ="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></ script > </ head > < body > < form > < div style =" margin :80px;"> < input type ="hidden" value ="0" id ="mode" /> < input type ="password" id ="txtpass" /> < button id ="btnclick" onclick ="return fnClick();"> Show Password </ button > </ div > </ form > < script type ="text/javascript"> //Javascript code to show hide password characters function fnClick() { var curval = $( '#mode' ).val(); $( 'input[type="password"],input[type="input...
Asp.Net,C#.Net,SQL Server Articles, Source Codes and Examples