+ 3
Refresh a webpage automaticaly
I want to refresh my website when we include new files.... How can i do it using php or js
8 odpowiedzi
+ 3
Xpl0it, you're right! it's easier to do using AJAX, I could have given him the guide but the tag says PHP or Javascript
+ 6
//js
file.onload = window.location.reload(true)
+ 3
yes! let's say you want to refresh a single image on your site, you can do that by shaking the source(using javascript to set the source to the same thing)
+ 1
can i use this for specific location in page
+ 1
If you want to reload only a certain module and not the entire page, use Ajax.
+ 1
Yeah. I'm talking about using Ajax for more difficult tasks like passing back results from his database to populate, say, a list of users in a table or something like that. For basic stuff like images, I'd go with what you're offering.
+ 1
True. Valid point.
+ 1
Can i have the guide with ajax please...