We have a form:
<form name="poisk" action="result.php" method="get"> Оплата за: <select name="za_chto"> <option value="все" checked="checked">Всё равно </option><option value="вариант1">вариант1 </option><option value="вариант2">вариант2 </option><option value="вариант3">вариант3 </option><option value="вариант4">вариант4 </option></select> <input type="submit" value="Поиск"> </form>
How can you make it so that after a click from a drop-down list for a variant, for example, "option1", the brand selection form becomes visible, if the user chooses "option2", then the price selection form becomes visible, and so on. Those. several parameters would already be available to the user, depending on his initial choice.
Or, for example, if the user chose "option1", then he would be among the direction to the page "a", if "option2", then to the page "b".
How to do this?
onChange
event inselect
. - Crasher