Hello people,
I am wondering, I have got a very simple question. I have a page, for example where news is being displayed like below:
Code:
Posted by: Administrator
News Message: Lorem ipsum bla bla
Now I want to do the following. When I click on a button, I want to show a text input field where "Administrator" is being displayed, and a text message input field where the news is being displayed, without reloading the page.
Here the example with images:
Step 1
This is what I am seeing on my webpage:
Step 2
Now I click on some button (edit button), and the following is being displayed WITHOUT reloading the page:
Step 3
So what I am getting basically, is an edit form so I can directly edit the news and then hit the "edit" button again to post the edited news.
Can someone tell me if this is indeed done with AJAX and if so (or not) can someone point me in the right direction by showing me a tutorial of how to accomplish this, so I can get started with it? The only thing I need is the "function" to show the edit form without reloading the page.
Thanks in advance.