获取input中的值

先在input标签中添加一个id='getvalue'
document.getElementById("getvalue").value;
posted @ 2016-08-16 22:10  Shiyu_Huang  阅读(222)  评论(0)    收藏  举报