Modify ↓
Ticket #3991 (closed bug: duplicate)
Selector [attribute=""] doesn't work
| Reported by: | glavic | Owned by: | john |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3.1 |
| Component: | selector | Version: | 1.3.1 |
| Keywords: | attribute | Cc: | |
| Blocking: | Blocked by: |
Description
$('form input[value=""]) or $('form input[value!=""]) doesn't work.
It outputs exception:
[Exception... "'Syntax error, unrecognized expression: value=""]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

This is a duplicate of #3990