Modify ↓
Ticket #20 (closed bug: fixed)
[jQuery] Not compatible with Prototype 1.5 ???
| Reported by: | benx.shen@… | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | core | Version: | 1.0 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Resolved in SVN.