获取input标签文本框中输入的值

方式一:通过标签id的形式获取

方式如下所示:

 

实例代码:

 

运行结果:

猜你喜欢

转载自blog.csdn.net/G_66_hero/article/details/89071044