Tagged: show password html code

Show-Hide Password in TextBox with Button using jQuery 0

Show-Hide Password in TextBox with Button using jQuery

Show-Hide Password in TextBox with Button using jQuery

In this Post We Will Explain About is Show-Hide Password in TextBox with Button using jQuery With Example and Demo.Welcome on Pakainfo.com – Examples, The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u can know to How to Create a Show Password Button Example

In this post we will show you Best way to implement Display Text in Password Field using Javascript , hear for Show/Hide Password Field Text with jQuery and Bootstrap with Download .we will give you demo,Source Code and examples for implement Step By Step Good Luck!.

Show Hide Password in Password TextBox with CheckBox using jQuery

In this Example,First of all Add or Include External Libs Like as a(jQuery, css etc..), and then create a simple index.php or index.html page.After that crate a simple javascript file like as a index.js or main.js, It is also add your web-application First Header Part to some priority set.After that Include your relevant CSS Class.

Include External Libs

<script src="
https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0-beta1/jquery.js"></script>

index.html

<body>
<h1>simple Login Form</h1>
<form>
	<!-- Devloped by Pakainfo.com free download examples -->
	<label>Student Username</label>
	<input type="text" name="username" id="username"/><br/><br/>
	<label>Student Password</label>
	<input type="password" name="password" id="password"/><br/><br/>
	<button type="button" id="live_showhide" name="live_showhide">Show</button>
</form>
</body>

index.js

$(document).ready(function(){
$('#live_showhide').on('click', function(){
	var LivePassfield = $('#password');
	var LivePassfieldType = LivePassfield.attr('type');
		if(LivePassfieldType == 'password')
		{
			LivePassfield.attr('type', 'text');
			$(this).text('Hide');
		}
		else
		{
			LivePassfield.attr('type', 'password');
			$(this).text('show');
		}
	});
});

You are Most welcome in my youtube Channel Please subscribe my channel. and give me FeedBack.
More Details……
Angularjs Example

Example

I hope you have Got What is Show Hide Password in Password TextBox with CheckBox using jQuery
And how it works.I would Like to have FeedBack From My Blog(Pakainfo.com) readers.Your Valuable FeedBack,Any Question,or any Comments about This Article(Pakainfo.com) Are Most Always Welcome.