⬅︎ Back to Button tag in bloody Internet Explorer
Here is another variation.<button type="submit" name="btnContinue" onclick="this.setAttribute('value','continue');"><img src="whatever.gif"></button><button type="submit" name="btnBack" onclick="this.setAttribute('value','back');"><img src="whatever.gif"></button>Doesn't require a hidden field.
Comment
Here is another variation.
<button type="submit" name="btnContinue" onclick="this.setAttribute('value','continue');"><img src="whatever.gif"></button>
<button type="submit" name="btnBack" onclick="this.setAttribute('value','back');"><img src="whatever.gif"></button>
Doesn't require a hidden field.