Side navigation
#5397 closed enhancement (invalid)
Opened October 19, 2009 09:54PM UTC
Closed October 20, 2009 11:41PM UTC
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.
1. $("#myid [value=1][name=2]")
2. $("#myid [value=1] [name=2]")
The additional space causes the filter to not work.
Attachments (0)
Change History (1)
Changed October 20, 2009 11:41PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Yes, spaces are significant in CSS selectors.