function showToolTip() { document.getElementById("tooltip").textContent = "I am tooltip text"; } function hideToolTip() { document.getElementById("tooltip").textContent = ""; }
<body> <input id="theButton" type="button" value="I am disabled" onmouseover="showToolTip()" onmouseout="hideToolTip()"> <br> <span id="tooltip"></span> </body>
#theButton { pointer-events: visible; color: graytext; }