Opened 13 years ago
Closed 13 years ago
#5329 closed bug (worksforme)
missing special char "?" in "Special characters in selectors" on selectors page
Reported by: | i | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | docs | Version: | |
Keywords: | incomplete list | Cc: | |
Blocked by: | Blocking: |
Description
documentation typo:
location: on bottom of http://docs.jquery.com/Selectors just beneath "The full list of characters that need to be escaped: "
the question mark is missing. also there seems to be a slight inconsistency...
works:
$("[id='http\:\/\/domain\.net\/index\.php?var\=3']") (specific attribute, plain ?)
$("[id='http\:\/\/domain\.net\/index\.php\?var\=3']") (specific attribute, escaped ?)
$("#http\:\/\/domain\.net\/index\.php\?var\=3") (escaped ?)
fails:
$("#http\:\/\/domain\.net\/index\.php?var\=3") (plain ?)
Attachments (1)
Change History (3)
Changed 13 years ago by
comment:1 Changed 13 years ago by
You can't use that as an ID or you do need to escape chars. http://www.w3.org/TR/xhtml1/#C_8
comment:2 Changed 13 years ago by
Milestone: | 1.4 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Version: | 1.3.2 |
Uhhhh. Wow. You may want to consider changing up your IDs a little bit.
test page showing difference # and [id=] and (un)escaped ?