Hi everyone,
Looking to make some minor tweaks to the code, and could use some help! Looking to convert the <textarea> in chatwindow.html to a <div contenteditable>, which would allow it to grow as you type more. AFAIK, you can't do that with a textarea.
The problem is getting the onkeydown js to fire, as the div doesn't have focus. Can anyone solve this puzzler with me?
Looking to make some minor tweaks to the code, and could use some help! Looking to convert the <textarea> in chatwindow.html to a <div contenteditable>, which would allow it to grow as you type more. AFAIK, you can't do that with a textarea.
The problem is getting the onkeydown js to fire, as the div doesn't have focus. Can anyone solve this puzzler with me?