Side navigation
#5918 closed bug (duplicate)
Opened January 24, 2010 05:06AM UTC
Closed November 21, 2010 04:08AM UTC
Last modified November 21, 2010 04:08AM UTC
:not filter bug for input of type BUTTON on IE
| Reported by: | NadAf | Owned by: | NadAf |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4 |
| Component: | selector | Version: | 1.4 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Hi,
I am trying to use the following code on IE 8 for an input of type button. It seems that the :NOT filter is not working when combined with attribute.
// Match all inputs with ID=comment and not having attached attribute.
$("input#comment:not([attached])").attr("attached", true).click(function() {alert('Can you see me?')});
However, it works fine on FireFox.
Attachments (0)
Change History (5)
Changed June 14, 2010 12:33AM UTC by comment:1
| component: | unfiled → selector |
|---|
Changed November 20, 2010 05:19PM UTC by comment:2
| owner: | → NadAf |
|---|---|
| status: | new → pending |
Please provide a test case. I have a feeling that the problem is related to [attached] and has nothing to do with button.
Changed November 21, 2010 02:29AM UTC by comment:3
| status: | pending → new |
|---|
Here is a test case: http://jsfiddle.net/Ln6xU/1/
You should not see the alert box. However, on IE, you see it.
Changed November 21, 2010 04:08AM UTC by comment:4
| resolution: | → duplicate |
|---|---|
| status: | new → closed |