HTML Email – Rich Media the Right Way
Using JavaScript in your HTML eMail
As JavaScripts are predominantly a unique and proprietary element (and by this I mean that you can write 100 different scripts which all do basically the same thing but in a different manner), complex JavaScripts will always spell trouble for your HTML email.
Due to the wide variety of email clients, browsers, security settings, updates, and service packs installed, it’s difficult to predict how a script will execute against any given email client. JavaScripts can cause browsers & Outlook 2000 to disable any active scripting contained in an email document (and there has been an increase in email security due to malicious scripts).
You’d be wise to test any Javascript you wish to include in a mailing. Not all email clients can handle the scripts, and most Web-based systems disable scripts as a general rule, to prevent malicious code from being executed on a system. Javascript navigation forms (such as jump menu forms) can be used, but even these will only work in non-Web-based email clients. And most other navigation forms aren’t supported because they don’t work on the majority of Web-based email clients. However, forms that use the GET/POST method will render and test correctly in Web-based email clients, and you can often use this to get around many Javascript problems in HTML email.
Remember! Most Web-based email browsers are a
