Rerender an input field in a VisualForce page

Rerender an input field in a VisualForce page

Hi,
 
How is it possible to rerender an input field in a VisualForce page using the onchange trigger of a select list.
 
We defined the function disable to enable or disable input fields acording to some conditions (see function below). This function is called in j$(document).ready(function() and it's functioning well when the page loads.
We call this function also in the trigger onchange mentioned, but we need that the input fields get rerendered. What statements must we add in function disable() to rerender objects in the page?
 
 
 
 
var disable = function(){
            shouldDisableProg = '{!shouldDisableProg}';
            shouldDisableReal = '{!shouldDisableReal}';                 
            if (shouldDisableProg == 'true') {
                   j$('input[name$="dataIntervencao"]').attr('disabled','disabled');
                   j$('input[name$="horaInicial"]').attr('disabled','disabled');
                   j$('input[name$="horaFinal"]').attr('disabled','disabled'); 
                   j$('input[name$="duracaoEstimada"]').attr('disabled','disabled');    
                    
                   j$('input[name$="horaInicialReal"]').removeAttr('disabled');
                   j$('input[name$="horaFinalReal"]').removeAttr('disabled');     
                   j$('input[name$="duracaoReal"]').removeAttr('disabled');
            }
           
            if (shouldDisableReal == 'true') {
                   j$('input[name$="horaInicialReal"]').attr('disabled','disabled');
                   j$('input[name$="horaFinalReal"]').attr('disabled','disabled'); 
                   j$('input[name$="duracaoReal"]').attr('disabled','disabled');        
         
                   j$('input[name$="dataIntervencao"]').removeAttr('disabled');
                   j$('input[name$="horaInicial"]').removeAttr('disabled');
                   j$('input[name$="horaFinal"]').removeAttr('disabled'); 
                   j$('input[name$="duracaoEstimada"]').removeAttr('disabled');
            }       
        }






















 
Thanks,