Web page - form action

G

Guest

I have a web page in which there are two buttons that postback the page.
How can i simulate the action of pressing a button with pressing key enter,
and the action(which button is "pressed") that takes place depends on which
button is closer to the last control that had the focus.

I would appreciate any help.

Thanks
 
H

Hans Kesting

I have a web page in which there are two buttons that postback the page.
How can i simulate the action of pressing a button with pressing key enter,
and the action(which button is "pressed") that takes place depends on which
button is closer to the last control that had the focus.

I would appreciate any help.

Thanks

See "DefaultButtons" from MetaBuilders.

http://www.metabuilders.com/Tools/DefaultButtons.aspx


Hans Kesting
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top