When logging into many sites you can type in your user name and password then hit Enter and the appropriate button is fired. How do I do that? I don't want to have to tab to the control and then press enter.
Sean
Printable View
When logging into many sites you can type in your user name and password then hit Enter and the appropriate button is fired. How do I do that? I don't want to have to tab to the control and then press enter.
Sean
Although this is not a VB.NET related question.
Basically within the form tags if you have only one INPUT with the type of submit then it becomes the default. So hence one form on the page with one INPUT of type submit and there you go.
<FORM Name="frmSubmit" method=post action="myPage.asp">
<INPUT type="submit" name="cmdOK" value="OK">
</FORM>
:)
Well thanks for taking the time to answer, but as for your first sentence, it most certainly IS a VB.NET related question as I am building this app completely with VB.NET code. The HTML and ASP is generated. I am using web server controls, so for your solution to work I imagine I must change one of my web server controls to an HTML control, correct? I'll give it a try, thank you.
If anyone knows how to do this with the web server controls I'd appreciate it as well.
Sean