给button添加点击事件,通过id(getElementById)获取输入框的value。

inputhtml5提交 input怎么提交_输入框

弹框提示如图

inputhtml5提交 input怎么提交_点击事件_02