?
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
Medium Priority
?
33 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 24

Accepted Solution

by:
mankowitz earned 2000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
Introduction to Processes
Suggested Courses

762 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