ApocComputing Established Member โ 20 โ Impact 14 Dec 11, 2005 873 views 2 replies #1 is there any way i could make an image submit data to a php file like a form submit button does?
iNod Eating PieVIP Member VIP โ 20 โ Impact 66 Dec 11, 2005 #2 Code: <input type="image" src="images/submit.jpg" value="Submit" alt="Submit"> That works. Another way is use CSS and placing a false image over the submit button. iNod.
Code: <input type="image" src="images/submit.jpg" value="Submit" alt="Submit"> That works. Another way is use CSS and placing a false image over the submit button. iNod.
vslevin Established Member โ 20 โ Impact 35 Dec 11, 2005 #3 See: http://webdesign.about.com/od/intermediatetutorials/l/bltags_inputimg.htm Example code: Code: <form onSubmit="javascript:alert('clicked!'); return false;"> Click on the image to submit the form [b]<input type="image" src="../graphics/cecb2.gif" [/b]value="Click here" size="32,32" border="0" /> </form>
See: http://webdesign.about.com/od/intermediatetutorials/l/bltags_inputimg.htm Example code: Code: <form onSubmit="javascript:alert('clicked!'); return false;"> Click on the image to submit the form [b]<input type="image" src="../graphics/cecb2.gif" [/b]value="Click here" size="32,32" border="0" /> </form>