This code stopped working in version 2024
$("#r_ACTUACION_REALIZADA_POR").hide();
$("#r_TAREAS_PENDIENTES").hide();
$(document).ready(function(){
$("#x_TIPO_SEGUIMIENTO").change(function() {
var str = $("option:selected", this);
if (this.value == "Actuación") {
$("#r_ACTUACION_REALIZADA_POR").show();
$("#r_TAREAS_PENDIENTES").show();
} else {
$("#r_ACTUACION_REALIZADA_POR").hide();
$("#r_TAREAS_PENDIENTES").hide();
}
});
});
There is no error in the console and I checked all the field names and everything is fine