$('#edit').click(function(){ // click to $('.inputDisabled').attr('disabled',false); // removing disabled in this class });