I ofetn find myself writing the same code in jquery for ajax stuff. Still i can't find a good Reusable, centralized AJAX component based on jQuery...
Note: One similar question i had asked before Reusable jquery ajax requests but it had some issues.