Bug Tracker

Opened 9 years ago

Closed 9 years ago

#8408 closed bug (invalid)

DOM element as selector inconsistency

Reported by: brad.robert.crawford@… Owned by: brad.robert.crawford@…
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:

Description

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 9 years ago by ajpiano

Owner: set to brad.robert.crawford@…
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 9 years ago by anonymous

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

comment:3 Changed 9 years ago by ajpiano

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