1
I have a code and I want it to work as follows:
I created a list of options
within a optgroup
and I want as soon as I click on an option, it go to the page I want.
Example:
<optgroup>
<option>Opcao1</option>
<option>Opcao2</option>
<option>Opcao3</option>
</optgroup>
And once you clicked on option 2, for example, it would access the following url: www.site.com/lista/Opcao2/index.html
So the pattern would be: www.site.com/lista/(opção escolhida)/index.html
Currently the code is like this (for now):
And on the website it’s like this:
Would have some way without using php?
Does optgroup have information for the link? or just the option? How are you generating this html? on the server or browser?
– Sergio
@Sergio I’m making a news site about series, so the code is like this (for now): http://prntscr.com/fv007a E on the site like this: http://prntscr.com/fv00em
– Lucas Josivan