$(document).ready(function () { $('input').attr('autocomplete', 'false'); });
<form autocomplete="off" ...></form>
<input type="password" readonly onfocus="this.removeAttribute('readonly');"/>