I would like to use one ToolTip for multiple buttons. The ToolTip has custom content which includes text, buttons, checkboxes. My plan is to create a Javascript function to bring up the ToolTip when the button is clicked on.
First, I would add the Javascript function to the client click event of my buttons:
Button1.Attributes.Add("OnClick","myFunction()");
Button2.Attributes.Add("OnClick","myFunction()");
Then I need to create a Javascript function (called myFunction) to bring up the tooltip:
function myFunction()
{
// code goes here
}
How do I attach and bring up a ToolTip in Javascript?
First, I would add the Javascript function to the client click event of my buttons:
Button1.Attributes.Add("OnClick","myFunction()");
Button2.Attributes.Add("OnClick","myFunction()");
Then I need to create a Javascript function (called myFunction) to bring up the tooltip:
function myFunction()
{
// code goes here
}
How do I attach and bring up a ToolTip in Javascript?