Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
236 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...