This script initially simply puts the cursor into the email form element, so that the visitor may begin typing upon first entry to page.
However, if you type an email address with any basic mistakes, it triggers an alert and then both focuses on mistaken entry and highlights it.
Email:
|