Solved

Using jquery Dynamically add a tooltip to a button using the results obtained from a pl/SQL function

Posted on 2014-11-07
3
22 Views
Last Modified: 2016-06-23
I have a button.  I want to assign tooltip.  The value of the tooltip is obtained from a function call.  I want to use jquery.
0
Comment
Question by:DishaK
3 Comments
 
LVL 24

Accepted Solution

by:
mankowitz earned 500 total points
ID: 40430828
something like this:

function assign_tool_tip() {
    return "Sample Tool Tip";
}

$(function() {
    $('#butt1').attr("title", assign_tool_tip()).tooltip();
});
0
 

Author Comment

by:DishaK
ID: 40440781
Thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about a problem I had getting the GPS LocationListener working.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now