<html>
<body>
<textarea id="content"></textarea>
<script>
var ele = document.getElementById("content");
ele.value = ele.value + "追加精彩内容";
</script>
</body>
</html>
本文共 217 字,大约阅读时间需要 1 分钟。
<html>
<body>
<textarea id="content"></textarea>
<script>
var ele = document.getElementById("content");
ele.value = ele.value + "追加精彩内容";
</script>
</body>
</html>
转载于:https://www.cnblogs.com/chenweichu/p/5736978.html