javascript - JQuery UI Dialog: Password inputs causing freezing -
javascript - JQuery UI Dialog: Password inputs causing freezing -
this odd behavior seems happen in chrome , jquery ui. when entering characters password field @ first functions correctly. however, if effort backspace lastly letter in input, browser locks client side operations. also, if seek , highlight characters entered , backspace client side operations freeze.
just reaching out see if has encountered same issue, , how resolved it.
in order experience issue, have dialog auto opening on 2+ unique page home views. here listings page can triggered, apologize inconvenience can't remove counter.
page: http://www.christineleeteam.com/area/eagleharbor
i had same problem cache clearing didn't help. i'm sure isn't jquery ui bug. here solution:
$('input[type="password"]').on('keydown', function(event){ if (event.which == 8) { //backspace event event.preventdefault(); $(this).val(''); } });
this code clearing whole password field on 1 backspace event.
javascript jquery jquery-ui yii jquery-ui-dialog
Comments
Post a Comment