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
27 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

861 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