hi,

Firstly I hope this is the right place to post problems in relation to
JQuery.

I'm having an issue with using prototype and JQuery at the same time.
And if your wondering then yes I have looked at countless posts
describing the use of JQuery's noconflict option. The thing is is that
I haven't yet come accross a single post describing my problem yet.

In the head of the html page....

1) If I include the prototype file FIRST and the JQuery file SECOND
with the jQuery.noConflict() method call at the end of the JQuery file
(within the JQuery file) then Javscript class definitions using
prototype work and so do called to JQuery.whatever(). HOWEVER I get in
the firefox error console this error: 'element.dispatchEvent() is not
a function' as this originates from the prototype file.

2) If I include the JQuery file FIRST and the prototype file SECOND
JQuery is completely broken regardless of where i put the
jQuery.noConflict() call i.e. in the end of the JQuery file or anytime
after the inclusion of the prototype file.

I am tempted to just leave things working with the
element.dispatchEvent() is not a function error. However in IE it
comes up as an error message. Ok I could probably use Try Catch
statements but I'd still jsut like to get it sorted the proper way.

Thanks in advance for any help!

Reply via email to