I have this drop down and I want to auto select the current month on page load, means when ever the user gets to this page at any time the month drop down gets auto selected to current month, can any one help me in this regard I am new to javascript, here is my drop down html code:
HTML:
<select class="customSelect1 floating" id="month" name="month">
<option value="1">Jan</option>
<option value="2">Feb</option>
<option value="3">Mar</option>
<option value="4">Apr</option>
<option value="5">May</option>
<option value="6">Jun</option>
<option value="7">Jul</option>
<option value="8">Aug</option>
<option value="9">Sep</option>
<option value="10">Oct</option>
<option value="11">Nov</option>
<option value="12">Dec</option>
</select>