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!

January 9th, 2008 at 12:13 pm
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.