jquery show and remove alert messages code example Example: jquery remove all alerts window.alert = function() {}; // or simply alert = function() {};