in my option.html I have a text area where users can write something. then click the button and activate my js code. that happens when the user clicks:
VAR myText = document.getElementById('textatea').value
createTab to my url
Chrome.tabs.excuteScript(tab.I’d,{
Code:"document.getElementById('test').value='"+myText+"';"
});
Wenn i Write in the textarea on Option html only this : hallo : works but when i try to this
Hallo
Hallo
Hallo
Not work
question from:https://stackoverflow.com/questions/66065861/set-value-from-text-area-with-line-break