Opened 9 years ago
Closed 9 years ago
#9640 closed bug (notabug)
Tooltip attaches to any element with title attribute
Reported by: | rhull | Owned by: | rhull |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.tooltip | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Tooltip attaches to any element with a title attribute, even if that element's id is not referenced in the script. Attached code snippet will display tooltips for all elements with title attribute specified, not just the one with id=myanchor.
Change History (2)
comment:1 Changed 9 years ago by
Owner: | set to rhull |
---|---|
Status: | new → pending |
comment:2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | pending → closed |
That's because tooltips use delegation. Please read the documentation for the items option.
Note: See
TracTickets for help on using
tickets.
Hi rhull,
Thanks for taking the time to contribute to the jQuery UI project. Your test case doesn't appear to work, it looks like jQuery is not included. Please update the test case to work. You can use this as a starting point - http://jsfiddle.net/tj_vantoll/FMUZL/.
Thanks.