:
In HTML, disabledelements do not trigger an event and do not respond to user actions, they are simply displayed with gray text.
The MDN specification is disabled :
If an element is disabled, it does not respond to user actions, it cannot be focused, and the command event will not fire.
Decision:
Why don't you just use the title attribute title="this is a div"?!
<button id="btn" title="this is a div" disabled>Search</button>
Here is a simple demo fragment:
chŝdk source
share