Comment forcer l'assenceur en bas dans un TEXTAREA (déjà remplit) c'est à dire comme si je l'avais fait manuellement ?
form Read only : object: Returns a reference to the parent form element. The height of textarea automatically increase when you write something into the textarea. I am using a jQuery plugin (see below if interested) that works with IE and FireFox but doesn't work in Chrome because textarea.scrollHeight
Le même vieux problème,.scrollTop(0) ne fonctionne pas dans Chrome & Safari (7) Tout d'abord, permettez-moi de souligner, j'ai googlé et même regardé des réponses ici comme ceci et cela, cependant, je suis encore à trouver une solution de travail pour mon cas. Approach 1: Get the scrollHeight property of the textarea. Use scrollTop property to set the position of vertical scrollbar using jQuery.
scrollHeight includes height + padding + border.
: value: string: Returns / Sets the raw value contained in the control. But there is one problem: the textarea doesn’t shrink if you delete the content. Given an HTML document containing
You can set textarea to auto height which is based on content. If this element is not contained in a form element, it can be the id attribute of any