This is a centuries old question, but I still have problems with it. You see, Iβm trying to insert some Excel data into the text area, but stupid browsers freeze for a long period of time when they do this, because God knows what kind of βsmartβ parsing they do. I canβt get rid of this (uploading a file is out of the question, my boss wants me to insert rows from Excel into the text area).
The good news is that you insert into the standard WORKS text box. But I can not get them to insert there. So I am trying to catch the insert event in the text area, and then pass the text to the text box. Unfortunately, I settled on the insertion part. I cannot paste text through JS into a plain text field.
So my question is: how do you insert text, how do you call it through JS? There are some solutions that work only in IE, which is not very good, of course :: -).
Axonn source share