(function() { var settings = $.extend({ timeout: 3000, callback: function() {}, getVariable: 'update' }, updateableSettings); var update = function() { var ids = [], hash = []; $('[data-updateable]').each(function() { ids.push($(this).data('updateable')); hash.push($(this).data('hash')); }); var getVars = { ids: ids, hash: hash }; getVars[settings.getVariable] = true; $.get('', getVars, function(data) { var updated = $('