Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Uncaught TypeError: Property 'id' of object #<HTMLDocument> is not a function #2189

liviathan opened this Issue Dec 29, 2011 · 8 comments


None yet
4 participants

When using Mootools 1.4.1 with Sencha Touch, Sencha Touch add ID property for each element of the DOM. This cause the call of


produce error like

Uncaught TypeError: Property 'id' of object #<HTMLDocument> is not a function

Tested on Google Chrome 16 , under Ubuntu 11.04

May be this function can be renamed !


arian commented Dec 29, 2011

you can still use $(...) right?

Sorry, I forgot to mention that the error is not in my code, because I do not use this feature. Mootools is using it several times in his code, and that is where the errors come


ibolmo commented Jan 7, 2012

Without additional information (code) it's hard to discern who's at fault. Perhaps a simple jsFiddle is needed.

Also, you may want to try loading Sencha Touch first then MooTools.

@subtleGradient are you familiar with this problem?

Competing prototype alterations sound like a wontfix/2.0 to me.


ibolmo commented Aug 8, 2012

@chrispitt agreed. @liviathan if you get around to providing a jsfiddle of the problem, we can investigate further. for now it'll be moved to 2.0.

@ibolmo I will try to reproduce the problem but it is long since I work more on this project


ibolmo commented Mar 3, 2014

Closing for lack of progress.

@ibolmo ibolmo closed this Mar 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment