I need to open a link in the same tab from a checkbox, where I will pass parameters however I do not have Javascript knowledge for such thing,
This is the html:
<div class="prog">
<legend class="">Genero</legend>
<form action="#">
<input type="checkbox" name="genero" value="acao"> Ação<br>
<input type="checkbox" name="genero" value="aventura" > Aventura<br>
<input type="checkbox" name="genero" value="esportes" > Esportes<br>
<input type="checkbox" name="genero" value="rpg" > RPG<br>
<input type="checkbox" name="genero" value="arcade" > Arcade<br>
</form>
</div>
In each one I will pass a parameter to search the database, but I do not know the command in Js, would you let me know?