Commit ac77561a by Saliya Randunu

fix jquery issue with password field

parent 0771a265
......@@ -76,19 +76,19 @@
%>
<script type="text/javascript">
$(document.body).addClass('bg-color');
var interval ;
$(document).ready(function() {
recalcFunction = setupRecalc ($("form#signIn"), {'recalcOnError':true});
validate();
$('input').on('change keyup', function() { validate() });
interval = setInterval(function() { validate(); }, 500);
validate();
$('input').on('change keyup', function() { validate(); });
$('#myPassword').strength_meter({
$('#myPassword').strength_meter({
"inputName" : "<%= passkey %>"
});
});
function validate() {
var empty = false;
$('input[required]').each(function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment