Html5 PasswordInput
Invoke the val method of the jqxPasswordInput. Author: http://jqwidgets.com
by jqwidgets
HTML
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<input type="password" id='input' />
<div>
<input style="margin-top: 20px;" type="button" id='jqxButton' value="Set new value" />
</div>
JavaScript
$("#input").jqxPasswordInput({
width: '250px',
height: '25px',
placeHolder: "Enter a Password",
theme: 'energyblue'
});
$("#jqxButton").jqxButton({
height: '30px',
width: '120px',
theme: 'energyblue'
});
$('#jqxButton').on('click', function () {
$('#input').jqxPasswordInput('val','New password');
});