[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Multiple Refreshes on single PHP pager

Posted on 2013-01-06
2
Medium Priority
?
561 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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)
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Suggested Courses

656 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