Solved

Multiple Refreshes on single PHP pager

Posted on 2013-01-06
2
549 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
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

759 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now