2018/4/25孙小北
textarea的值并处理回车换行的方法
$(document).keypress(function(e){ if (e.ctrlKey && e.which == 13 || e.which == 10 || e.which == 13) { e.preventDefault();//屏蔽enter对系统作用。按后增加\n等换行 }});原理:textarea中的回车是用\n代替,html中是用
代替的所以在提交的时候需要将\n转换成
存:bsBulletin.Content = bsBulleti...