Prevent Form Field Autocomplete
Preventing autocompletion of form fields is incredibly important since we never know where our users are completing them from. They could complete them from a super secure computer or an incredibly public computer. Regardless of security level, some field values should never be remembered, like credit card number, social security number, etc. Preventing autocompletion is as simple as adding one attribute to a FORM tag for individual form fields.
The autocomplete attribute is the key. This attribute may be added FORM tags to prevent any autocompletion:
<form method="post" autocomplete="off">
You may also isolate single fields for preventing autocompletion:
<input type="text" name="credit_card" autocomplete="off" />
Big detail, simple task, simple solution.
attachEvent. Times have changed but there are still a few functions each developer should...
I was recently redesigning my website and wanted to create tooltips. Making that was easy but I also wanted my tooltips to feature the a triangular pointer. I'm a disaster when it comes to images and the prospect of needing to make an image for...