Opened 12 years ago
Closed 12 years ago
#8503 closed bug (fixed)
Missing apostrophes in the documentation
Reported by: | Owned by: | ||
---|---|---|---|
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 :)
Change History (2)
comment:1 Changed 12 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 12 years ago by
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
Note: See
TracTickets for help on using
tickets.
Can you post a link to the page where you see this problem?