Hi Robert,
Dynamic change of HTML or options of the widget is not supported.
When the switch is build the framework generates additional mark-up which is why simply removing the input element will not work. Instead you should remove the closest
.km-switch element to the
#switch.
Alternatively you may change the text of the .km-switch-label-on / .km-switch-label-off span elements.
Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!