Bug Tracker

Modify

Ticket #20 (closed bug: fixed)

Opened 7 years ago

Last modified 7 years ago

[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

comment:1 Changed 7 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

Resolved in SVN.

comment:2 Changed 7 years ago by john

  • Version set to 1.0
  • Milestone set to 1.0

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.