In jQuery Mobile 1.4, flip toggle switch widget can be created as
as well as traditional <select> with two options.
We can modify existing wizard for 1.4 by adding radio options Kind: "Checkbox" and "Select".
Changes in JQM 1.4:
Data role "flipswitch" is used in JQM 1.4 flip toggle switch for both checkbox and select.
In checkbox, customized off- and on- labels are set with attributes data-off-text and data-on-text.
Attribute data-track-theme is not used.
One more feature to be added to the wizard for both versions is 'Selected' which in case of checkbox adds attribute 'checked', and in case of select adds attribute 'selected' to 'on' option.