jeudi 25 août 2016

zk : Checkbox and data-toggle

i tried to view a checkbox like Bootstrap Toggle, but I did not succeed.

I include the css and js file :

<script src="/js/bootstrap2-toggle.min.js"></script>
...
<style src="/css/bootstrap2-toggle.min.css"></style>

and declare checbox like that:

<checkbox data-toggle="toggle" value="@save(...)" disabled="@load(...)"/>

but in browser a view simple box.

How I Can view checbox like bootstrap toggle?




Aucun commentaire:

Enregistrer un commentaire