Solved

Multiple Refreshes on single PHP pager

Posted on 2013-01-06
2
558 Views
Last Modified: 2013-01-06
I have a php/mysql page where I need to diplay form sections with different auto refresh times. One area needs to refresh every 10 sec and another section needs to refresh every 30 seconds, and of course, without a page reload. I'm thinking I can do it by refreshing certain <div> id's but not sure.
Right now I have the entire page reloading via an ajax load() routine every 10 sec and it works fine but the users now need different reload times.
Another issue is that I have an iframe with separate queries that works okay but when the parent page refreshes, it reloads, very ugly.  
Any suggestions would be appreciated.
0
Comment
Question by:kevbob650
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
sivagnanam chandrakanth earned 500 total points
ID: 38749769
You can auto refresh multiple div's different timing, so in that case your iframe will not reload and thus solving the problem of iframe issue...see the examples below

http://www.9lessons.info/2009/07/auto-load-refresh-every-10-seconds-with.html

http://www.brightcherry.co.uk/scribbles/jquery-auto-refresh-div-every-x-seconds/
0
 

Author Closing Comment

by:kevbob650
ID: 38749822
That's what I needed. I couldn't find it when searching!  Thanks sivagnanam_c
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question