You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2025. It is now read-only.
Is is possible to attach a jbox tooltip to a disabled button? I'd like to inform the user the reasons the button is disabled using a tooltip.
I've disabled the button like so:
$('.btn-print').attr('disabled', true);
(Have also tried $('.btn-print').prop('disabled', true); )
And attaching the tooltip as:
new jBox('Tooltip', {
attach: '.btn-print'
});
Obviously if I hover of the button, the cursor changes to not allow but the jbox doesn't appear. If I comment out the disable, it works fine.