ajax in php/codeigniter AJAX is a developer's dream, because you can Update a web page without reloading the page Request data from the server -…