Answers for "select option as link"

1

selected options with link

<select onchange="this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);"
	<option value="fr">
        Français <!-- Go root/fr on click -->
    </option>
</select>
Posted by: Guest on March-02-2021

Code answers related to "select option as link"

Browse Popular Code Answers by Language