You could solve it by making a custom tooltip and put the disabled button within a div and attach the mouseover to the div instead of the button.
Main Topics
Browse All TopicsI have a button on my webpage that I want to disable, and give a tooltip to explain why it has been disabled. This is the code I am using to do this:
$("deleteButton").disabled
$("deleteButton").title = "Cannot delete while system is active";
The problem is, the tooltip doesn't display. If I leave the button enabled, the tooltip does display. Is this normal or is there something broken on my page which is causing this effect? If it is normal, is there any way round this?
Thanks
agrees
p.s. If the solution is anything other than very trivial I will increase the points!
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here's an example of what was said above:
<html>
<head>
<script type="text/javascript">
window.status = "";
function show()
{
var msg = document.getElementById("m
msg.value = "This DIV is disabled, sorry for any inconvenience.";
}
function hide()
{
var msg = document.getElementById("m
msg.value = "";
}
</script>
</head>
<body>
<input type="text" id="msg" disabled="true" style="width:300px;" />
<br />
Mouse over the button
<div title="div title" onmouseover="javascript:sh
<input type="button" title="my disabled button title" disabled="true" style="position:absolute; top:100px; left:10px; height:25px; width:100px; z-index:1;" />
</body>
</html>
Business Accounts
Answer for Membership
by: dbrittPosted on 2007-07-18 at 10:10:29ID: 19515452
"When an element is disabled, it appears dimmed and _does not respond to user input_. Disabled elements _do not respond to mouse events_, nor will they respond to the contentEditable property. "
/en-us/lib rary/ms533 732.aspx
http://msdn2.microsoft.com