timme_v
03-09-2009, 01:12 AM
Hey guys, I posted this question in the PHP section and was directed over here, saying how you do this is through AJAX. So any help would be great.
Basically, what I want to do is create 1 html and external CSS file, and when you click buttons etc, it only changes the information within the div, it doesn't load a completely new HTML page.
For example, I have a div header called 'dHead' which has some buttons in it. When you click the button, I would like to just change the information in the body called 'dBody' without having to completely load a new HTML page.
If anyone could help me on how to achieve this, that would be great.
Thanks, Tim.
Basically, what I want to do is create 1 html and external CSS file, and when you click buttons etc, it only changes the information within the div, it doesn't load a completely new HTML page.
For example, I have a div header called 'dHead' which has some buttons in it. When you click the button, I would like to just change the information in the body called 'dBody' without having to completely load a new HTML page.
If anyone could help me on how to achieve this, that would be great.
Thanks, Tim.