Home >Web Front-end >JS Tutorial >Notes on retaining line breaks in textarea_form effects

Notes on retaining line breaks in textarea_form effects

WBOY
WBOYOriginal
2016-05-16 19:09:141188browse

! innerHTML is the HTML code of the returned object, and textarea is a text input box. To return its content, you should use the value attribute


[Ctrl A select all Note: If you need to introduce external Js, you need to refresh to execute ]
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn