Hi everyone,
I would like to know if someone has found a way, or knows of a way to refresh a part of a page instead of the whole page using ajax.
Here's an example, in the cms I am currently using (phpfusion) there is a link to check new messages.... and I would like to update/refresh that particular part of the page only.... how can I employ AJAX in this way?
I used google, but no luck.... maybe because I am a lousy searcher?? (I used this sequence to search: "refresh+page+ajax")
any help is welcomed!
Thanks,
-Matt
AJAX+PHP=refresh
Moderator: General Moderators
- R4000
- Forum Contributor
- Posts: 168
- Joined: Wed Mar 08, 2006 12:50 pm
- Location: Cambridge, United Kingdom
easy
use sajax or something or your own ajax code
and then when you get your ajax response

use sajax or something or your own ajax code
Code: Select all
<div id="WHAT EVER">
part to change
</div>Code: Select all
var _gel = document.getElementById("WHAT EVER");
_gel.innerHTML = reposnseText;