---
title: "Redirect to a link when user selects option in a select"
url: https://daily.dev/posts/redirect-to-a-link-when-user-selects-option-in-a-select-ioch7pvnk
source_url: https://flaviocopes.com/redirect-to-a-link-when-user-selects-option-in-a-select
type: article
source: "Flavio Copes"
published: 2023-12-22T08:43:15.638Z
updated: 2023-12-22T08:43:14.647Z
tags: ["webdev", "javascript", "html", "alpinejs"]
reading_time: 2
upvotes: 5
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Redirect to a link when user selects option in a select

**[Flavio Copes](https://daily.dev/sources/flaviocopes)** · 2 min read · 5 upvotes · 0 comments

## Summary

Learn how to redirect to a link when a user selects an option in a select element using HTML and plain JS or Alpine.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://flaviocopes.com/redirect-to-a-link-when-user-selects-option-in-a-select>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#webdev](https://daily.dev/tags/webdev), [#javascript](https://daily.dev/tags/javascript), [#html](https://daily.dev/tags/html), [#alpinejs](https://daily.dev/tags/alpinejs)

[View this post on daily.dev](https://daily.dev/posts/redirect-to-a-link-when-user-selects-option-in-a-select-ioch7pvnk)
