So What I am trying to do with Javascript, is make it so when I do something similar to document.getElementByID("product-select").value = "34"; It will automatically press it for me.
Whenever I try to do this what it does is it makes the drop down menu go blank and It wont change it automatically. Can I have some help ?
<div id="product-variants" class="">
<div class="select-wrapper">
<select id="product-select" name="id" class="">
<option value="28223706565">32</option>
<option value="28223706629">34</option>
<option value="28223706693">36</option>
</select>
</div>
</div>