desbloquear inputs con checkbox
async function check_checkbox() { const data = await $.ajax({ type: "GET", url: "/check_checkbox", data: { 'checkbox': $("#checkbox").is(':checked') } }) $("#input_1").prop('disabled', !data.checkbox) $("#input_2").prop('disabled', !data.checkbox) }