Bug Tracker

Opened 12 years ago

Closed 12 years ago

#8408 closed bug (invalid)

DOM element as selector inconsistency

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:


Creating a jquery object from DOM element via $() fails but succeeds when using jQuery()

For example: $( document.getElementById( "id") ) => null jQuery( document.getElementById( "id") ) => $.init[1]

Change History (3)

comment:1 Changed 12 years ago by ajpiano

Owner: set to [email protected]
Status: newpending

Thank you for your time and interest in helping the jQuery project, but we require that all bugs have a working testcase on jsfiddle or another live test case we can audit. What's likely going on here is that some other framework has taken control of the $ variable and so it no longer points to jQuery. You can use jQuery.noConflict to work around this.

comment:2 Changed 12 years ago by anonymous

Please discard this bug, I rushed to report it without investigating fully.

comment:3 Changed 12 years ago by ajpiano

Resolution: invalid
Status: pendingclosed
Note: See TracTickets for help on using tickets.