Script Error: Object doesnt support property or method attachEvent

Problem

You get this error when running your application in live preview.

If you create an application using 4.5 framework and have Internet explorer 11 on your machine, then you may see this script error upon clicking a button in live preview.

Solution

Run your application in the browser.

See Also

Part IX:  Troubleshooting Applications

Application Error Messages