Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Space to simulate a click on an image
Message
From
27/09/2001 14:43:05
 
 
To
27/09/2001 12:53:11
General information
Forum:
Internet
Category:
HTML
Miscellaneous
Thread ID:
00561538
Message ID:
00561598
Views:
17
>I recently changed a page to use an image instead of a submit button. Before, I was able to tab, tab, tab and space over the submit button to submit the form. Now, I have an image and the space over the image scroll down the page. How can I define the image to submit the form when I hit space when the focus is over it?

You could probably include a hidden submit type button and call it's Click() event from this image's onClick(). The following is untested VBScript code:
Sub myImg_onClick()
  mySubmit.Click()
End Sub
HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform