How could I change the param value by what I selected in select? the param is in the link that I will be sending to another page. It would only be the id that I selected in the select.
var meu_select = $('#meu_select');
meu_select.change(function() {
var valor = meu_select.val()
location.href = '#?param=' + valor;
});
<form>
<select id='meu_select'>
<option value='1'>Valor 1</option>
<option value='2'>Valor 2</option>
</select>
<a id="various3" class="various3" href="relatorio_gastos_rec.php?param">
<img src="img/icones/editar.png" width="20" height="20" alt="Alterar" />
</a>
</form>