I hope someone can help explain this behavior to me.
I have a form, two buttons...
<button type="submit" name="submit" value="next">next</button>
<button type="submit" name="submit" value="cancel">cancel</button>
When the form is submitted, IE always returns the value "cancel" regardless of which button was pressed.
I thought I could name them the same and it would work. In fact this does work in all other browsers (mozilla, netscape, opera).
If I give the buttons seperate names, then it works. Does IE not interpret the <Button> element the same as it interprets <Input type="submit">???
Thanks in advance.
I have a form, two buttons...
<button type="submit" name="submit" value="next">next</button>
<button type="submit" name="submit" value="cancel">cancel</button>
When the form is submitted, IE always returns the value "cancel" regardless of which button was pressed.
I thought I could name them the same and it would work. In fact this does work in all other browsers (mozilla, netscape, opera).
If I give the buttons seperate names, then it works. Does IE not interpret the <Button> element the same as it interprets <Input type="submit">???
Thanks in advance.