$(document).on('ready', function() { $('input.addToFilterBox').on('change', function() { $(this).attr('disabled', true); }); });