onText

Specifies an optional text to display in the switch for its checked state.

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

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