I have this input
@foreach (var j in jornada){
<input id="jor" name="NombrJornada" type="radio" value="@j.IdJornada" onclick="Filtro"/>
}
and my script I have this
$(function() {
$("#jor").click(function () {
console.log("Hola");
});
});
The problem is that my script only runs on a single radio button could you help me solve this problem?