Passing select value to href?


   <option value=“1”>One</option>
   <option value=“2”>Two</option>
   <option value=“3”>Three</option>

Above, creates a simple drop-down list.

Same myFile.html

<a href="{{ selected-option }}">

Above, trying to pass selected option to URL.

What I want to happen is, after selecting an option, the value should be passed to the href. How can this be done?

Javascript, which is outside of the scope of this forum. You might try posting your question to Stack Overflow.