We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Does ejTooltip supports HTML content from the title attribute of the target element?

Platform: JavaScript |
Control: ejTooltip |
Published Date: June 7, 2016 |
Last Revised Date: June 7, 2016
Tags: javascript

Yes, ejTooltip supports the HTML content from the title attribute of the given target element.

The default browser tooltip does not support the html element in the title attribute to display the tooltip.

ejTooltip will fetch the text or any html elements from the title attribute of the target element if the content property is not specified in the tooltip properties list and rendered to the tooltip wrapper.

Please refer the following sample.

Step 1: In title attribute, we have given the value as 'ECMAScript (or ES) is a trademarked scripting-language specification standardized by Ecma International in ECMA-262 and <a href="http://www.ecmascript.org/"> more</a>.' We have used ‘<a>’ element in the title attribute.



Step 2: Define the tooltip as follows. In declaration we did not specify the content for the Tooltip. Because the content will be fetched from the title attribute.



You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon