- 博客(1)
- 收藏
- 关注
原创 html<textarea>根据输入自适应高度
<html xmlns="http://www.w3.org/1999/xhtml" > var lastlen = 0; function shorten(o) { var len = o.value.length; if (len < lastlen) { o.style.height = 0 + "px"; o.
2017-06-19 10:51:38
1383
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人