Currently, i have a form that submits as follows:
I want to use images for each of the buttons. The problem is that i Test for the values of these buttons to determine what to do next. What is the best way to do this. Should this be done with javascript?
Code:
<input tabindex="130" type="submit" name="go" value="Use Credit Card" />
<input tabindex="140" type="submit" name="go" value="Return to Biling Info" />
<input tabindex="150" type="button" name="cancel" value="Cancel" onclick="location.href='checkout.php?action=billing&billing=view'" />
I want to use images for each of the buttons. The problem is that i Test for the values of these buttons to determine what to do next. What is the best way to do this. Should this be done with javascript?