Searched on Stack overflow (jquery select change event get selected option) and trying use the code but not getting any where. When options are changed the value put together make a var which points to a location e.g. choosing Jan and the 1st makes:'0/0/1'so var data_location = ('0/0/1').
$('select').on('change', function (e) {
var optionSelected = $("option:selected", this);
var valueSelected = this.value;
});
var data_location = (this.value);
// trying to achieve var data_location = ('0/0/1');
<table>
<tr>
<td>
<select name="month">
<option value="0/0/">Jan</option>
<option value="0/1/">Feb</option>
<option value="0/2/">Mar</option>
</select>
</td>
<td>
<select name='day'>
<option value="1"> 1st</option>
<option value="2"> 2nd</option>
</select>
</td>
</tr>
</table>