Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: open
<button name=varName value=varValue>ButtonText</button>
IE does NOT pass the variable "VarName" if clicking on this button. Opera does it without problems.. (using PHP for Post processing)
If there is a single button on the page, no problem I just add a hidden field with the value, but if there are multiple buttons, and I would like to define the action to take via buttons, HowTo?
Anybody else experienced the same? What I'm missing? Can't find anything explaining this behaviour..
<button name='f1' value='1'>Garbage</button>
In Firefox, the POST variable is f1=>1 -- exactly what I would expect, but in IE6, it is f1=>Garbage
Just explain, I am using <button> in order to modify post-processing defendant on the button pressed. Firefox only receives the button name which was pressed (e.g., name='f1' and name='f2' -- press button 'f2' and 'f1' does not appear in the POST list. In IE, both appear, and with the following text as a value.
Does anybody have any idea how to get around this, or is it a feature?