Bug Tracker

Modify

Ticket #2134 (closed bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

jQuery.noConflict()

Reported by: pkt1975 Owned by:
Priority: minor Milestone: 1.2.2
Component: core Version: 1.2
Keywords: noConflict triggerHandler Cc:
Blocking: Blocked by:

Description

When using jQuery 1.2.2b2 in Firefox (2.0.0.11) and the noConflict method:

var $j = jQuery.noConflict();

I get the following error reported by FireBug(1.05):

$(document(.triggerHandler) is not a function in jquery-latest.js (line 2272).

I have changed this from:

$(document).triggerHandler("ready");

to:

jQuery.fn.triggerHandler("ready");

And this solves my issue, and everything appears to work correctly. However I am only using this with thickbox ( http://jquery.com/demo/thickbox/) modified to use $j instead of $, as I have existing prototype code that also needs to work.

Change History

comment:1 Changed 5 years ago by davidserduke

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

Dup of #2081.

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.