Side navigation
#11471 closed bug (invalid)
Opened March 14, 2012 10:32AM UTC
Closed March 14, 2012 09:12PM UTC
Bug with id selectors
| Reported by: | zigsas_1@inbox.lv | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | selector | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
This bug touches all versions of jquery. All info in jsfiddle
Attachments (0)
Change History (2)
Changed March 14, 2012 12:53PM UTC by comment:1
Changed March 14, 2012 09:12PM UTC by comment:2
| _comment0: | If you need to have only numbers, try using *-data attributes instead. → 1331759557450656 |
|---|---|
| component: | unfiled → selector |
| priority: | undecided → low |
| resolution: | → invalid |
| status: | new → closed |
If you need to have only numbers, prefix them, or try using *-data attributes instead.
"125" is not a valid id because it doesn't begin with a letter.
http://www.w3.org/TR/html4/types.html#type-id
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").