N
Nik Coughin
With multiple submit buttons in IE, how do I tell which button has been
pressed?
If I do this in IE:
<form action="index.html">
<p>
<button name="move" value="up" type="submit">up</button>
<button name="move" value="down" type="submit">down</button>
</p>
</form>
I get:
index.html?move=up&move=down
I thought that if you had two submit buttons with the same name, it only
posted the name\value of the one that was clicked? I can't tell which one
it was from that.
It works in Opera. If I click the up button I get:
index.html?move=up
Does IE really not support multiple submit buttons, or have I overlooked
something?
--
"Come to think of it, there are already a million monkeys on a million
typewriters, and the Usenet is NOTHING like Shakespeare!" - Blair Houghton
-=-=-=-=-=-=-=-=-=-=-=-
http://www.nrkn.com/
-=-=-=-=-=-=-=-=-=-=-=-
pressed?
If I do this in IE:
<form action="index.html">
<p>
<button name="move" value="up" type="submit">up</button>
<button name="move" value="down" type="submit">down</button>
</p>
</form>
I get:
index.html?move=up&move=down
I thought that if you had two submit buttons with the same name, it only
posted the name\value of the one that was clicked? I can't tell which one
it was from that.
It works in Opera. If I click the up button I get:
index.html?move=up
Does IE really not support multiple submit buttons, or have I overlooked
something?
--
"Come to think of it, there are already a million monkeys on a million
typewriters, and the Usenet is NOTHING like Shakespeare!" - Blair Houghton
-=-=-=-=-=-=-=-=-=-=-=-
http://www.nrkn.com/
-=-=-=-=-=-=-=-=-=-=-=-