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?

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.

Javascript

 

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.

Javascript

 

Article ID: Published Date: Last Revised Date: Platform: Control:
6924 06/07/2016 06/07/2016 JavaScript ejTooltip
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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