val

.val( [value] )

valueIf Specified, set the input to the value or return the value or the input

set the textarea to the value or return the value or the textarea

<textarea id="e1">bla bla bla</textarea> <script> var el = qsi("el"); var ret = el.val(); // bla bla bla el.val("once upon a time"); ret = el.val(); // once upon a time </script>

setNoChanges

.setNoChanges()

Indicate that the element is not modified

<textarea id="e1"></textarea> <script> var el = qsi("el"); el.setNoChanges(); </script>

isModified

.isModified()

Indicate if the element is modified or not

<textarea id="e1"></textarea> <script> var el = qsi("el"); var ret = el.isModified(); </script>

insertAtCaret

.insertAtCaret(text)

textthe text to put at caret

Insert the text at caret position in the element

<textarea id="e1"></textarea> <script> var el = qsi("el"); el.insertAtCaret("bla bla"); </script>