⬆️ ⬇️

jQuery: dynamic text field (textarea)

Somehow re-reading the relatively old posts on Habré, I came across this topic .

This question became interesting to me and I decided to implement something similar to jQuery.



So was born this little primerchik. There is one thing but, for the most part, an example serves to familiarize newbies ( something like continuing my small cycle of examples ) with the basic fundamentals of my favorite library :) The example is working, but not completely, there are some anomalies :) I didn’t bring to mind because there is a more convenient and well-written jQuery plugin, namely Auto-Growing Textarea , which I recommend using (and why reinvent the wheel?;)).



Download the sample here

')

P / S please do not minus karma for the unfinished example, I just set off a train of thought :)

Source: https://habr.com/ru/post/20925/



All Articles