||View All MessagesBack to WebFX|
You will have to set the value property but in Mozilla you can use selectionStart and selectionEnd to find the selection and setting the selection afterwards.|
How can i delete the content of a <textarea> ?
I know i can write textarea.value = "";
But i have problems with the cursor and focus in Mozilla, when using this solution. How could I e.g. athive the same by using ranges, or something else ?