I'm looking for a way to use javascript or jquery to automatically pull down a select menu drop down, upon click of a button. I'm having this issue since I'm using a text field which allows for custom user input to add a field dynamically to a select input, and I don't want the user to click twice, but essentially the problem is this:
$("#dropDownButton").click(function(){
//$("#selectBox"). //What goes here???
})
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<select id="selectBox">
<option val=1>1</option>
<option val=2>2</option>
</select>
<button id="dropDownButton">
Pull Down The Select!
</button>