How to remove flashing capet from the screen after updating content with Ajax
===

I think this is happening because the button clicked to initiate the content update is removed so the capet has nowhere to go. Ends up flashing next to a header or within the updated text. Can this be fixed with window.blur() or similar?