在Enter上提交网页 [英] Submit webpage on Enter
本文介绍了在Enter上提交网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个带控件的网页:TextBoxes和Dropdowns以及一个提交按钮。
我想要的是当我在填写任何控件后点击输入以提交页面好像我点击了提交按钮。
解决方案
使用DefualtButton: http://stackoverflow.com/questions/7638119/how-to-set-a-default-enter-on-a-certain-button [ ^ ]
I have a webpage with controls: TextBoxes and Dropdowns and a submit button.
What I want is when I hit enter after filling any control to submit the page as if I hit the submit button.
解决方案
Use a DefualtButton: http://stackoverflow.com/questions/7638119/how-to-set-a-default-enter-on-a-certain-button[^]
这篇关于在Enter上提交网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文