Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't replace form button with graphic

Status
Not open for further replies.

dwp333

Technical User
Jun 21, 2007
1
US
Hello,

I'm attempting to replace a form submit button with a custom graphic. I've changed the input type to "image" and provided a source to the image.

This will work in every browser that I've tested EXCEPT Internet Explorer. Am I missing something obvious, or does IE require some additional or special coding to enable the image button?

I don't know how helpful this is, but here's the asp code that processes the form:

If Request("Request_Method") = "POST" then
If Request("Review") <> "" then response.Redirect("../../../../reviewcart.asp")
if Request("submitButtonOne") <> "" then
nID1 = oCatalogue.call("get_Skumktg_Unique_Id", "URC105")
iErrorOne = oCatalogue.call("get_CheckOrderQty", nID1, sQtyOne)
sProduct = "URC105"
session("sProduct") = sProduct
if sQtyOne = "" then
sQtyOne = 1
end if
session("OrderQty") = sQtyOne
session("CalledFrom") = request.ServerVariables("SCRIPT_NAME")
response.redirect("../../../../addtocart.asp")
end if
end if
%>

Any additional insight would be greatly appreciated!
 
It would be more helpful to see your code for the "submit image" to see what might be missing there.

Einstein47
For best results: hand wash in cold, tumble dry low.
For not so good results: drag through puddles, pound on rocks, air dry on tree branch.
[&#91;]Starbase47.com]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top