gangsterwanster1 Posted August 15, 2009 Share Posted August 15, 2009 Is there a way to get a image to act as a command button? Meaning in commandbuttons you get this, <input type="submit" name="submit" value = "22" so that it redirects you or does a action. Can i acomplish the same thing but with a image? Quote Link to comment Share on other sites More sharing options...
gangsterwanster1 Posted August 15, 2009 Author Share Posted August 15, 2009 would the different be how it starts but the values are the same? (<img src=) Quote Link to comment Share on other sites More sharing options...
haku Posted August 17, 2009 Share Posted August 17, 2009 <input type="image" ... /> Careful on the php side though - you have to check for the button having been pressed differently than when you use type="submit". You can also try styling the button with a background image, or using <input type="button" ... /> 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.