js获取textarea中的回车换行


 回车

将换行符替换.replace(/\n/g,"<br>")

posted on 2012-05-31 17:39  铁轨嘴上飘  阅读(250)  评论(0编辑  收藏  举报

导航