⬅︎ Back to Button tag in bloody Internet Explorer
Hi, i do not want to use JavaScript so i prefer this solution:every button must have its own form.<form method="post" action="index.php">'<input type="hidden" name="VariableToBePosted" value="yourValue_1"><input type="submit" value="button_LABEL" /></form><form method="post" action="index.php">'<input type="hidden" name="VariableToBePosted" value="yourValue_2"><input type="submit" value="button_LABEL" /></form>Now the bad thing is (or maybe not bad) if i have to link more radios, checkBoxes, inputs to specific button, i have to use them in the buttons form and it limits a design.
sorry, inputs as buttons =]
Comment
Hi, i do not want to use JavaScript so i prefer this solution:
every button must have its own form.
<form method="post" action="index.php">'
<input type="hidden" name="VariableToBePosted" value="yourValue_1">
<input type="submit" value="button_LABEL" />
</form>
<form method="post" action="index.php">'
<input type="hidden" name="VariableToBePosted" value="yourValue_2">
<input type="submit" value="button_LABEL" />
</form>
Now the bad thing is (or maybe not bad) if i have to link more radios, checkBoxes, inputs to specific button, i have to use them in the buttons form and it limits a design.
Replies
sorry, inputs as buttons =]