RSS

HTMLFormElement is Undefined in IE (Prototype and Mootools)

Thu, Nov 15, 2007

Web Development

If you are utilizing both Prototype (which is used with Scriptaculous) and Mootools on your website and run accross this javascript error “HTMLFormElement is Undefined” there appears to be some sort of conflict when you use both these frameworks together. This appears to only be an issue in IE, Firefox has no problem including both. I worked around it by using an if statement and only loading the javascript framework needed. If anyone has a workaround for using both on one page without errors I would love to see it!

,

This post was written by:

Dustin - who has written 25 posts on DustinsDesign.com.


Contact the author

1 Comments For This Post

  1. Josh Lyon Says:

    I’ve noticed that no JS errors are explicitly thrown in Firefox when using Prototype and Mootools together, but there are definitely issues. When including both on the same page I start having conflicts and certain elements on my site start breaking.

Leave a Reply