js中设置textarea换行
var haha=""; haha=haha.replace('','\n'); var showMsg=document.getElementById("showMsg"); showMsg.value="后面是换行"+haha+"第二行";
var haha=""; haha=haha.replace('','\n'); var showMsg=document.getElementById("showMsg"); showMsg.value="后面是换行"+haha+"第二行";
暂无评论。
评论功能维护中,当前仅展示历史评论。