2
How could I change the param value for what I selected in select? param is in the link I’m sending to another page. It would only be the id I selected in 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>
very good friend @Inkeliz thanks for the help worked perfectly imported the jquery library and worked.
– gezer