Closed kirin2 closed 6 years ago
I tried to change the text On and Off to Yes and No and the toggle got broken.
The html :
<input class="toggle" type="checkbox" data-toggle="toggle" data-size="small" >
Js :
$('.toggle').bootstrapToggle({ on: 'Yes', off: 'No' });
Hmn i put the js on top of the html : )
I tried to change the text On and Off to Yes and No and the toggle got broken.
The html :
<input class="toggle" type="checkbox" data-toggle="toggle" data-size="small" >
Js :