I have a code and I want it to work as follows:
I created a list of options
within a optgroup
and I want it as soon as I click on an option, it goes to the page I want.
Example:
<optgroup>
<option>Opcao1</option>
<option>Opcao2</option>
<option>Opcao3</option>
</optgroup>
And once you click on option 2, for example, it would access the following url: www.site.com/lista/Opcao2/index.html
Then the default would be: www.site.com/lista/(opção escolhida)/index.html
The code is currently (so far):
Andthesitelookslikethis:
Would it be any way without using php?