Original Post
I've working with ASP.NET, and I've got two separate buttons that I want to submit when the user hits Enter. ........[search text] [Search] ... ... ...UserName: blahblahblah ...Password: blahblahblahblah ...Confirm PW: blahblahblahblah ...Email: SomeEmail@somedomain.com ...[OK] If the user last gave the focus to the search text box, I want enter to click the Search button. If they last gave the focus to something in the new user section, I want enter to click the OK buton. How do I accomplish this?