Search and Top Navigation
#9640 closed bug (notabug)
Opened October 30, 2013 04:47PM UTC
Closed October 30, 2013 06:43PM UTC
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.
Attachments (0)
Change History (2)
Changed October 30, 2013 06:39PM UTC by comment:1
owner: | → rhull |
---|---|
status: | new → pending |
Changed October 30, 2013 06:43PM UTC by comment:2
_comment0: | That's because tooltips use delegation. Please read the [documentation for the items option](http://api.jqueryui.com/tooltip/#option-items). → 1383158620881257 |
---|---|
resolution: | → notabug |
status: | pending → closed |
That's because tooltips use delegation. Please read the documentation for the items option.
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.