Side navigation
#5633 closed bug (invalid)
Opened December 10, 2009 02:32PM UTC
Closed October 06, 2010 12:42AM UTC
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);
Attachments (0)
Change History (3)
Changed December 10, 2009 02:36PM UTC by comment:1
Changed December 10, 2009 03:07PM UTC by comment:2
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.
Changed October 06, 2010 12:42AM UTC by comment:3
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