js和jquery获取textarea输入的内容

document.getElementById('textarea').value;
$("#textarea").val()
原文地址:https://www.cnblogs.com/beileixinqing/p/10156004.html