Posted By

focal55 on 08/07/11


Tagged

jquery


Versions (?)

Prevent Browser Auto-fill


 / Published in: JavaScript
 

  1. /*Use a jQuery selector to add a new attribute to
  2. input fields that you dont want to have auto-fill*/
  3. $('input[type="password"]').attr({autocomplete:"off"});

Report this snippet  

You need to login to post a comment.