input输入框提交输入的值的方式

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

弹框提示如图

 

posted on 2019-04-27 15:32  不酷也要写代码  阅读(2484)  评论(0)    收藏  举报

导航