I have been searching for quite a while now, but can not seem to find a comprehensive answer.
I have the HTML code below and would like to add the typed in value of the input name="ytcustom" to option value="https://url.com/custom/"
What is a solid way to accomplish this?
<select id="youtube_dropdown">
<option value="https://url.com/mix/">Mix</option>
<option value="https://url.com/custom/">Custom</option>
</select>
<input name="ytcustom" id="ytcustom" type="text" class="ythide">