Jump to content

Refresh part of a page


matvespa

Recommended Posts

Hi. Im retrieving data from database to display advertisement at the side of my page. Im displaying my advertisement on random and hope to refresh that section only. Im not interested in <meta http-equiv="refresh" content="25" > as it refreshes the entire page. Does anyone knows how i could achieve to this feature, without refreshing the entire page, but only that advertisement section.

Link to comment
https://forums.phpfreaks.com/topic/190327-refresh-part-of-a-page/
Share on other sites

See here:

http://www.satya-weblog.com/2007/04/dynamically-populate-select-list-by.html

when country value changes in select option then their city also changes dynamically.

Similarly you need to do for yourself.

 

Above, it is user who do action (select something), in your case you need to do something using javascript.

setInterval() js function should be good for you. http://www.howtocreate.co.uk/tutorials/javascript/timers

 

 

 

Do u have any tutorial on that, I've search google and cant seem to understand any.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.