Side navigation
#5329 closed bug (worksforme)
Opened October 06, 2009 08:29PM UTC
Closed February 05, 2010 08:08PM UTC
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 ?)
You can't use that as an ID or you do need to escape chars.
http://www.w3.org/TR/xhtml1/#C_8