Bootstrap.Switch

首先安裝Bootstrap.Switch這個套件


引用css和javascript


透過JQuery呼叫bootstrapSwitch這個方法


原本的checkbox就會變成開關的樣式了


參考資料
Bootstrap Switch 官網