Side navigation
#8503 closed bug (fixed)
Opened March 11, 2011 02:52PM UTC
Closed March 25, 2011 05:33PM UTC
Missing apostrophes in the documentation
Reported by: | info@kim-wormer.de | Owned by: | info@kim-wormer.de |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | unfiled | Version: | 1.5.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hey there! I've noticed a bug in the documentation. You wrote the following: $(document).ready(function() {
$("a[href*=/content/gallery]").click(function() {
// do something with all links that point somewhere to /content/gallery
});
});
But the link has to be in apostrophes: "a[href*='/content/gallery']" elsewise the effect won't work on the link. Please fix it :)
Attachments (0)
Change History (2)
Changed March 11, 2011 02:58PM UTC by comment:1
owner: | → info@kim-wormer.de |
---|---|
status: | new → pending |
Changed March 25, 2011 05:33PM UTC by comment:2
priority: | undecided → low |
---|---|
resolution: | → fixed |
status: | pending → closed |
Found and corrected this issue here: http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Find_me:_Using_selectors_and_events
Can you post a link to the page where you see this problem?