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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Sorting in Excel with Group Headers if the Exist 2 70
countAbc challenge 9 50
groupSum6 challenge 6 48
topping2 challenge 13 63
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

743 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

12 Experts available now in Live!

Get 1:1 Help Now