I'm just trying a simple use of $$()

  $$('#top_nav a.dropdownmenu);

which I'm sure I've used in other places, but I keep getting the following fatal
exception in FF (

uncaught exception: [Exception... "Component returned failure code: 0x80004001
(NS_ERROR_NOT_IMPLEMENTED) [nsIDOM3Document.domConfig]" nsresult: "0x80004001
(NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame ::
http://smolder.test/js/prototype.js :: anonymous :: line 46" data: no]

It happens with 1.5.1 and (btw, what's up with all those numbers in the
release? was something wrong with just doing a 1.5.2 :)

I've traced it down to document._getElementsByXPath and this:


In this case parentElement is the document object. So caling $() on the document
causes this exception.

In fact, I can put $(document) anywhere in my code and will die with this same

Am I doing something horribly wrong? I didn't see anything in Trac and I haven't
seen this before, but for some reason nothing I do can get past this.

Michael Peters
Plus Three, LP

You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to