Side navigation
#20 closed bug (fixed)
Opened July 01, 2006 05:33AM UTC
Closed July 04, 2006 09:24PM UTC
Last modified July 04, 2006 09:43PM UTC
[jQuery] Not compatible with Prototype 1.5 ???
Reported by: | benx.shen@gmail.com | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | core | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Window.js (http://prototype-window.xilinus.com/) is a window widget component based on Prototype.js. When I put jquery.js with these scripts, the browser shows me the script error.
I find out the Prototype 1.5 $() returns Element.extend(document.getElementById(id)). Prototype extends DOM object some utility functions, but jQuery overrides and returns document.getElementById(id) simply. This conflicts with Prototype.js.
Resolved in SVN.