Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


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

liviathan opened this Issue · 8 comments

4 participants

liva Ramarolahy Arian Stolwijk Olmo Maldonado Christopher Pitt
liva Ramarolahy

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

liva Ramarolahy

May be this function can be renamed !

Arian Stolwijk

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

liva Ramarolahy

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

Olmo Maldonado

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?

Christopher Pitt

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

Olmo Maldonado

@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.

liva Ramarolahy

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

Olmo Maldonado

Closing for lack of progress.

Olmo Maldonado ibolmo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.