Bootstrap switch toggle example from scratch

May 3, 2017 | Category : JQuery Plugin JQuery Bootstrap

we love to make better layout to give user, if you require switch in bootstrap then you can simply use bootstraptoggle library of jquery. bootstrap toggle provide us good layout and you can apply very simply. In this example you can see how to use and how it easy. Here i we take checkbox with animated layout. You can see design as live bellow:



<!DOCTYPE html>



<title>Bootstrap Toggle Example</title>

<link href="" rel="stylesheet">

<script src=""></script>

<link href="" rel="stylesheet">

<script src=""></script>



<div class="container">

<h1>Bootstrap Toggle Example</h1>

<strong>Normal Toggle:</strong>


<input checked data-toggle="toggle" data-onstyle="warning" type="checkbox">


<strong>Toggle with custom text:</strong>


<input checked data-toggle="toggle" data-on="Enabled" data-off="Disabled" type="checkbox">




You can get more information about bootstraptoggle plugin from here : Click Here.