I have a really short page, basically it's XHTML 1.0
transitional,
with a title and a script link to prototype. I don't have
anything in
the body. I get this for line 3936 in the error console
(firefox 2.0)
Error: element.dispatchEvent is not a function
Source File: file:///h:/programs/web/prototype.js
Line: 3936
It's referring to the if branch around this area:
if (document.createEvent) {
element.dispatchEvent(event);
} else {
element.fireEvent(event.eventType, event);
}
Can someone explain why this is happening?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|