Jump to content

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.

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.