offText

An optional text string to display in the switch for its unchecked state.

<input id="switch" type="checkbox" />

<script type="text/javascript">
    $(function () {
        $("#switch").shieldSwitch({
            checked: true,
            onText: "YES",
            offText: "NO"
       });
    });
</script>