Please am totally new to AJAX/JQuery but I seriously need this in my Web App. Am trying to Replace a DIV with a new content.
Take for example I have this DIV
<div id="container">Container Contents</div>
I will like to replace the content "Container Contents" with a new content entirely from my Submit form. So that when user click on Submit the result of the form will load into the DIV and replace the existing content and also there should be like a kind of Loading animation to show that something is going on in background.
Sorry that I didn't provide details in code, like I said am new to AJAX/JQUERY. Thanks!!!