salve a tutti,
ho questa funzione
codice:
    jQuery('input[name^="id_c_carichi"]').click(function() {
        var str = this.id;
        var id =  str.substring(3); 
        alert(id);
    if (this.checked) {
        // checkbox clicked is now checked  
                jQuery('#qty_s' + id).removeAttr('readonly');
          }
        else {
              jQuery('#qty_s' + id).attr('readonly', 'true');
               
                    }
});
che funziona benissimo in file dove i checkbox id_c_carichi[] "esistono"...

come posso utilizzarla la stessa funzione in una pagina dove i checkbox sono creati da una chiamata AJAX sull'onchange di una select??

sembra proprio che non posso intercettare i checkbox nei col nome ne con l'ID...

grazie