Opened 13 years ago
Closed 12 years ago
#5633 closed bug (invalid)
jquery function with context doesn't work with attribute selectors
Reported by: | bic72 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.3.2 |
Keywords: | context parameter attribute selector | Cc: | |
Blocked by: | Blocking: |
Description
With the following HTML: <div class="my_div"> <form name="my_form"> ... </form> </div>
This will not work: var context = $('.my_div'); $('form[name="my_form"]', context);
This will work: $('form', context);
Change History (3)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Please close this ticket. False alarm. I made a mistake when constructing my minimal test case and I'm not able to repro outside of a much more complex app. I suspect it's something to do with Firebug. Sorry.
comment:3 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing ticket as original ticket submitter has updated to say that this is not an issue with jQuery but was rather one more likely to do with Firebug. If the issue is re-experienced, please feel free to submit a new ticket and we will investigate accordingly.
I forgot to mention that this works fine in version 1.2.6