swissbeets Posted July 17, 2008 Share Posted July 17, 2008 i did this with my checkout but cannot seem to get it to work in my other form i am using <input type="image" name="submit" alt="Add to Big Peckers Shopping Cart" src="images/addtocart.gif" height="46" width="180"/> the code on my other form is <input type="image" name="Google Checkout" alt="Fast checkout through Google" src="https://checkout.google.com/buttons/checkout.gif?merchant_id=*************&w=180&h=46&style=trans&variant=text&loc=en_US" height="46" width="180"/> does anyone have another example or see a dumb mistake i am making? Quote Link to comment Share on other sites More sharing options...
vikramjeet.singla Posted July 17, 2008 Share Posted July 17, 2008 can you check your image path for submit button.... Quote Link to comment Share on other sites More sharing options...
adam84 Posted July 17, 2008 Share Posted July 17, 2008 <IMG SRC='' ONCLICK=javascript:document.getElementById('myForm').submit(); STYLE=CURSOR:pointer; ALT='Click to checkout'> Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted July 17, 2008 Share Posted July 17, 2008 Define: "cannot seem to get it to work". What is it doing or not doing? What do you see in front of you? Quote Link to comment Share on other sites More sharing options...
swissbeets Posted July 17, 2008 Author Share Posted July 17, 2008 it is just displaying the text with no image i can click the text but it does nothing Quote Link to comment Share on other sites More sharing options...
swissbeets Posted July 17, 2008 Author Share Posted July 17, 2008 i got it it was the image path thank you very much sorry i didnt catch that before even posting Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted July 18, 2008 Share Posted July 18, 2008 Do not use <input type="image"> use <button type="submit"></button> instead. It is easier to implement and style. Trust me. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.