Opened 12 years ago
Closed 12 years ago
#8408 closed bug (invalid)
DOM element as selector inconsistency
Reported by: | Owned by: | ||
---|---|---|---|
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 12 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 12 years ago by
Please discard this bug, I rushed to report it without investigating fully.
comment:3 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Note: See
TracTickets for help on using
tickets.
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.