"Noel Wood1" wrote:
Hello,
I have a problem that I'm sure is simple but I have searched
the newsgroup
and have not found it posted before so I apologize if it has
been asked
heaps of times before.
I have a page that list all current orders from customers.
Customers can
order at any time. I have a checkbox beside each listing so
that as each
order is complete it can be ticked off. I want the page to
refresh every 2
mins so I have added ....
<meta http-equiv="Refresh" content="120" />
this will enable me to see new orders. However I will lose
the information
from the check boxes telling me which orders are completed if
I have not
pressed the submit button first. Is there a standard way
around the
refresh/submit problem? Can anybody offer suggestions?
Thanks for your help.
Noel
I suggest you have two frames. Once with boxes you can check, and the
other one listing orders. The one listing orders would have
auto-refresh.
The one with checkboxes would be refereshed only upon hitting the
submit button. This way, you can issue submit at your own leisure
while seeing what new orders are being added.
Another option:
There may be a way with javascript to have a form submit automatically
upon selection of a checkbox. This would obviously slow down the
browser response (due to refresh on every box selection), but it *may*
be another option.
--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL:
http://www.dbForumz.com/PHP-refresh-...ict151189.html
Visit Topic URL to contact author (reg. req'd). Report abuse:
http://www.dbForumz.com/eform.php?p=506650