Edit this page

filter String

Specifies a selector for elements, within the container, for which the Tooltip will be displayed.

Example - show Tooltip only for strong elements in a text

<div id="container">
    I'm a <strong title="First target">tooltip target</strong>. I'm also a
    <strong title="Second target">tooltip target</strong>.

    $(document).ready(function() {
        filter: "strong"
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article