Ticket #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: | |
| 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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Dup of #2081.