JohnOP Posted July 26, 2011 Share Posted July 26, 2011 Hey everyone I have the following button on my form and it doesnt seem to work when i have type as image, with type as submit it works though. <input id="buton-input" type="image" name="submit" src="submit.jpg"> Link to comment https://forums.phpfreaks.com/topic/242890-image-button-not-working/ Share on other sites More sharing options...
ryanfilard Posted July 27, 2011 Share Posted July 27, 2011 <input type="image" src="submit.jpg" name="submit" id="button input"> Link to comment https://forums.phpfreaks.com/topic/242890-image-button-not-working/#findComment-1247640 Share on other sites More sharing options...
chintansshah Posted July 30, 2011 Share Posted July 30, 2011 I think your id value is wrong, you may write it's name is button-input Link to comment https://forums.phpfreaks.com/topic/242890-image-button-not-working/#findComment-1249348 Share on other sites More sharing options...
remybink Posted July 31, 2011 Share Posted July 31, 2011 <input type="image" src="images/submit1c.png" class="submit" name="submit" value="submit" /> make sure src points to the image with correct path id and class is for styling Link to comment https://forums.phpfreaks.com/topic/242890-image-button-not-working/#findComment-1249655 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.