Jun 22, 2001 #1 jfrost10 Programmer Joined Jun 3, 2001 Messages 2,004 Location CA Is there anyway to change the appearance of the submit button either in ASP, HTML, or JScript? I have a graphic I'd rather have shown, but I'm not sure how to change it (if thats even possible). Thanks, Jack
Is there anyway to change the appearance of the submit button either in ASP, HTML, or JScript? I have a graphic I'd rather have shown, but I'm not sure how to change it (if thats even possible). Thanks, Jack
Jun 22, 2001 #2 link9 Programmer Joined Nov 28, 2000 Messages 3,387 Location US <input type=img src="img.gif"> will default to a submit button. You can also do something like: <img src="img.gif" onClick="someFunction();"> Where someFunction() would perform your desired task. hope that helps Paul Prewett Upvote 0 Downvote
<input type=img src="img.gif"> will default to a submit button. You can also do something like: <img src="img.gif" onClick="someFunction();"> Where someFunction() would perform your desired task. hope that helps Paul Prewett
Jun 22, 2001 #3 PepperPepsi Programmer Joined Aug 3, 2000 Messages 241 Location US hi, I don't think Netscape 4.x supports onclick event in the image tag, i will suggust to do the following: <a href="javascript:someFunction();"><img src="img.gif"></a> hope this helps, Chiu Chan WebMaster & Software Engineer emagine solutions, inc http://www.emagine-solutions.comcchan@emagine-solutions.com Upvote 0 Downvote
hi, I don't think Netscape 4.x supports onclick event in the image tag, i will suggust to do the following: <a href="javascript:someFunction();"><img src="img.gif"></a> hope this helps, Chiu Chan WebMaster & Software Engineer emagine solutions, inc http://www.emagine-solutions.comcchan@emagine-solutions.com
Jun 22, 2001 Thread starter #4 jfrost10 Programmer Joined Jun 3, 2001 Messages 2,004 Location CA Thanks for the advice guys (link, unless I'm doing something wrong, the <input type = img src = "src.gif"> doesn't default to submit) I'm leaning towards a jscript function, but what would the call be inside Function SendIt() { Form.Submit } ???? Jack Upvote 0 Downvote
Thanks for the advice guys (link, unless I'm doing something wrong, the <input type = img src = "src.gif"> doesn't default to submit) I'm leaning towards a jscript function, but what would the call be inside Function SendIt() { Form.Submit } ???? Jack
Jun 22, 2001 #5 PepperPepsi Programmer Joined Aug 3, 2000 Messages 241 Location US Hi Jack, it should be <input type="image" src="src.gif"> and for javascript: function SendIt() { document.formName.submit(); } hope this helps, Chiu Chan WebMaster & Software Engineer emagine solutions, inc http://www.emagine-solutions.comcchan@emagine-solutions.com Upvote 0 Downvote
Hi Jack, it should be <input type="image" src="src.gif"> and for javascript: function SendIt() { document.formName.submit(); } hope this helps, Chiu Chan WebMaster & Software Engineer emagine solutions, inc http://www.emagine-solutions.comcchan@emagine-solutions.com
Jun 22, 2001 Thread starter #6 jfrost10 Programmer Joined Jun 3, 2001 Messages 2,004 Location CA SWEET!!!! Thanks Chiu!! Works like a charm! Jack Upvote 0 Downvote