jQWidgets jqxSwitchButton disable() Method
The disable() method is used to disable the displayed switch button. It has no parameter and does not return anything.
Linked Files: Download https://www.jqwidgets.com/download/ from the link. In the HTML file, locate the script files in the downloaded folder.
<link rel=”stylesheet” href=”jqwidgets/styles/jqx.base.css” type=”text/css” />
The below example illustrates the jqxSwitchButton disable() method in jQWidgets.