michellerobbins56
Programmer
I have a form where I need to know when the submit button has been clicked. I check for when the submit button is clicked by the following in VBscript:
If Request.Form("btnSubmit") <> "" then
My submit button is as follows in HTML:
<input type="submit" name="btnSubmit" value=" " style="background-image: url(images/buttonimage.jpg); border-width:0px; width:100px; height:18px">
This all works fine and my submit button has an image on it instead of text. However my only problem is I want the mouse cursor to change to the standard 'hand' as it does when you hover over a hyperlink. How can I create an OnClick event to do this? I have tried various other ways to do this such as using input type=image but this does not work with some of my other ASP code so I need to stick with the button as it is.
Thank you very much for any help with the onclick event.
If Request.Form("btnSubmit") <> "" then
My submit button is as follows in HTML:
<input type="submit" name="btnSubmit" value=" " style="background-image: url(images/buttonimage.jpg); border-width:0px; width:100px; height:18px">
This all works fine and my submit button has an image on it instead of text. However my only problem is I want the mouse cursor to change to the standard 'hand' as it does when you hover over a hyperlink. How can I create an OnClick event to do this? I have tried various other ways to do this such as using input type=image but this does not work with some of my other ASP code so I need to stick with the button as it is.
Thank you very much for any help with the onclick event.