value

Called without any parameters, the value() method returns the text of the TextBox.
Calling it with a string parameter will populate the text of the TextBox widget.


<input id="input" ></div>
<script type="text/javascript">
    $(function () {
        $("#input").shieldTextBox({
        });
    });

    $("#input").swidget().value(); // return emptry string
 
    $("#input").swidget().value("test") // set test as a input text
 
    $("#input").swidget().value(); // return 'test'

</script>