Bug Tracker

Opened 10 years ago

Closed 10 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.

  1. $("#myid [value=1][name=2]")
  2. $("#myid [value=1] [name=2]")

The additional space causes the filter to not work.

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

Yes, spaces are significant in CSS selectors.

Note: See TracTickets for help on using tickets.