Bug Tracker

Opened 13 years ago

Closed 13 years ago

#2134 closed bug (duplicate)

jQuery.noConflict()

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

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 (1)

comment:1 Changed 13 years ago by davidserduke

Resolution: duplicate
Status: newclosed

Dup of #2081.

Note: See TracTickets for help on using tickets.