I've tried
$(".toggle-handle").addClass("disabled")
$(".toggle").addClass("disabled")
$(".toggle-handle").off();
$(".toggle").off();
without success. I have forms that is just informative once saved to I would like to have them not clickable.
I've tried
$(".toggle-handle").addClass("disabled")
$(".toggle").addClass("disabled")
$(".toggle-handle").off();
$(".toggle").off();
without success. I have forms that is just informative once saved to I would like to have them not clickable.
Disable is a property of the element:
Demo:
Or using vanilla JS:
Demo: