summaryrefslogtreecommitdiffstats
path: root/README.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index b5096f1..8874fbe 100644
--- a/README.markdown
+++ b/README.markdown
@@ -15,6 +15,15 @@ The expandable plugin has 5 settings:
* `maxRows` - The maximum number of rows the textarea can be expanded to. Default is false which will allow the textarea to keep expanding.
+## Dynamic Updating
+
+If you need, you can trigger an update to the textarea by doing the following:
+
+ $('textarea').trigger('update');
+
+This is useful if you are injecting content into the textarea via JavaScript.
+
+
## License
The expandable plugin is licensed under the MIT License (LICENSE.txt).