Opened 13 years ago
Closed 13 years ago
#5397 closed enhancement (invalid)
How to use filtering when selecting nodes
Reported by: | JeffMatthews | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
FYI, be careful of using any spacing to make code readable in your text editor. The spacing might affect processing.
Here is one that bothered me for about an hour, until I got lucky and just removed the space.
These two statements are not the same.
- $("#myid [value=1][name=2]")
- $("#myid [value=1] [name=2]")
The additional space causes the filter to not work.
Note: See
TracTickets for help on using
tickets.
Yes, spaces are significant in CSS selectors.