<textarea name="jfcate_name" rows="10" class="layui-textarea" onkeydown="if(event.keyCode==13)return false;">{$row['jfcate_name']}</textarea>
<textarea name="jfcate_name" rows="10" class="layui-textarea" onpaste="this.value=this.value.replace(/\r|\n/ig,'')" onkeyup="this.value=this.value.replace(/\r|\n/ig,'')">{$row['jfcate_name']}</textarea>
标签:name,textarea,换行,jfcate,回车,row
From: https://www.cnblogs.com/sunr/p/17210451.html