1
Knowing when a certain input within the group of radio inputs has been de-selected.
$('[name="teste"]').on('change', (e) => console.log(e))
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<span>1</span>
<input type="radio" name="teste" value="1" />
<span>2</span>
<input type="radio" name="teste" value="2" />
<span>3</span>
<input type="radio" name="teste" value="3" />
<span>4</span>
<input type="radio" name="teste" value="4" />
well observed @Augustovasques. In that case, just treat tbm the keyboard event,
keydown
for example. I updated the code in the question, thank you for commenting– Ricardo Pontual
I had already left the +1. Thanks for the update.
– Augusto Vasques