I have this form with a bunch of buttons.
<form method=post action="\somedll.dll" id=someid name=somename>
<input type=image src=imgsrc1.gif LANGUAGE=javascript onClick="cmdimg1_onclick()">
<input type=image src=imgsrc2.gif LANGUAGE=javascript onClick="cmdimg2_onclick()">
<input type=image src=imgsrc3.gif LANGUAGE=javascript onClick="cmdimg3_onclick()">
<input type=submit value="Submit">
When I click on the buttons (Button1-Button3), the action="\somedll.dll" kicks off. How do I code it so that it kicks-off the onclick function instead of the somedll.dll.
How do I change the 4th button (input type=submit) to be type image and kicks-off the somedll.dll action when clicked?
Any help will be greatly appreciated.
<form method=post action="\somedll.dll" id=someid name=somename>
<input type=image src=imgsrc1.gif LANGUAGE=javascript onClick="cmdimg1_onclick()">
<input type=image src=imgsrc2.gif LANGUAGE=javascript onClick="cmdimg2_onclick()">
<input type=image src=imgsrc3.gif LANGUAGE=javascript onClick="cmdimg3_onclick()">
<input type=submit value="Submit">
When I click on the buttons (Button1-Button3), the action="\somedll.dll" kicks off. How do I code it so that it kicks-off the onclick function instead of the somedll.dll.
How do I change the 4th button (input type=submit) to be type image and kicks-off the somedll.dll action when clicked?
Any help will be greatly appreciated.