Skip to main content

Bug Tracker

Side navigation

#8408 closed bug (invalid)

Opened March 01, 2011 02:16AM UTC

Closed March 01, 2011 03:06AM UTC

DOM element as selector inconsistency

Reported by: brad.robert.crawford@gmail.com Owned by: brad.robert.crawford@gmail.com
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]

Attachments (0)
Change History (3)

Changed March 01, 2011 02:47AM UTC by ajpiano comment:1

owner: → brad.robert.crawford@gmail.com
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.

Changed March 01, 2011 02:58AM UTC by anonymous comment:2

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

Changed March 01, 2011 03:06AM UTC by ajpiano comment:3

resolution: → invalid
status: pendingclosed