bgrins / ExpandingTextareas

jQuery plugin for elegant expanding textareas
http://bgrins.github.com/ExpandingTextareas/
MIT License
260 stars 73 forks source link

Allow jQuery options to accept 'update' #70

Closed blaknite closed 4 years ago

blaknite commented 7 years ago

This allows you to easily update textareas from a jQuery selector.

Useful if submitting via ajax and then clearing the content.

domchristie commented 7 years ago

This feature has been included in #68 (which also includes a fix for another issue). In the meantime, you may wish to do the following:

$('.my-selector`).data('expanding').update()