Hi folks,
I have a web page I wrote for a class assignment (which I embellished a little) that doesn't seem to
work on all browsers, platforms, etc. The problem appears to be that the page doesn't refresh
completely when the page calls it self. The refresh (which should happen when the form action
fires) should reload a file into an iFrame, but it doesn't. I do have 3 submit buttons on one form,
but it works well for me. On the machines that don't display the results properly a click of the
Refresh (or Reload) button retrieves the new data?
The link to the page is: http://power.arc.losrios.edu/~barnes...ode_writer.php
At the bottom of the page is a link "Display this page's source code..." click it to view the PHP
source code as dump through the highlight function...with some other features I added, like reliable
line numbers.
Thanks for any insight you can lend...
Rick 6 2951
Rick <rb*****@nospam .net> wrote in message news:<zir4c.175 50$i76.290957@a ttbi_s03>... Hi folks,
I have a web page I wrote for a class assignment (which I embellished a little) that doesn't seem to work on all browsers, platforms, etc. The problem appears to be that the page doesn't refresh completely when the page calls it self. The refresh (which should happen when the form action fires) should reload a file into an iFrame, but it doesn't. I do have 3 submit buttons on one form, but it works well for me. On the machines that don't display the results properly a click of the Refresh (or Reload) button retrieves the new data?
The link to the page is:
http://power.arc.losrios.edu/~barnes...ode_writer.php
At the bottom of the page is a link "Display this page's source code..." click it to view the PHP source code as dump through the highlight function...with some other features I added, like reliable line numbers.
Thanks for any insight you can lend...
Just tested. It's just a caching problem.
Solutions:
1. Instead of generating code.html, just generate code.php but with
no-cache header <http://in2.php.net/header> (Recommended solution)
2. Or try to add random values (timestamp) with the url like
code.html?8900
--
"Democracy: Where all citizens are politicians and all politicians
are citizens"
Email: rrjanbiah-at-Y!com
Rick wrote: Hi folks,
I have a web page I wrote for a class assignment (which I embellished a little) that doesn't seem to work on all browsers, platforms, etc. The problem appears to be that the page doesn't refresh completely when the page calls it self. The refresh (which should happen when the form action fires) should reload a file into an iFrame, but it doesn't. I do have 3 submit buttons on one form, but it works well for me. On the machines that don't display the results properly a click of the Refresh (or Reload) button retrieves the new data?
The link to the page is:
http://power.arc.losrios.edu/~barnes...ode_writer.php
How do you mean "the page doesn't refresh" properly...
You have two frames windows (I'll call them right and left) and you have
a hyperlink "Display this pages source code..." I might stand
corrected, but when one clicks on a hyperlink, it will lead to a screen
refresh unless it links to # (meaning self).
Secondly - you have two IFRAMES visiable - neither of them named - You
have a third IFRAME and it is named ' show_it' (note, a space prefixes
the name and that would be illegal).
I think you'll have to be clearer with regards to what you consider the
problem - and name at least one of the browers where it works, and fails
to work the way you'd expect.
laters
randelld
On Fri, 12 Mar 2004 23:00:47 GMT, Rick <rb*****@nospam .net> wrote: Hi folks,
I have a web page I wrote for a class assignment (which I embellished a little) that doesn't seem to work on all browsers, platforms, etc. The problem appears to be that the page doesn't refresh completely when the page calls it self. The refresh (which should happen when the form action fires) should reload a file into an iFrame, but it doesn't. I do have 3 submit buttons on one form, but it works well for me. On the machines that don't display the results properly a click of the Refresh (or Reload) button retrieves the new data?
The link to the page is:
http://power.arc.losrios.edu/~barnes...ode_writer.php
At the bottom of the page is a link "Display this page's source code..." click it to view the PHP source code as dump through the highlight function...with some other features I added, like reliable line numbers.
Thanks for any insight you can lend...
Rick
A starting point would be to write valid html. Try using http://validator.w3.org to clean that up first.
Steve
Steve Holdoway wrote: On Fri, 12 Mar 2004 23:00:47 GMT, Rick <rb*****@nospam .net> wrote:
Hi folks,
I have a web page I wrote for a class assignment (which I embellished a little) that doesn't seem to work on all browsers, platforms, etc. The problem appears to be that the page doesn't refresh completely when the page calls it self. The refresh (which should happen when the form action fires) should reload a file into an iFrame, but it doesn't. I do have 3 submit buttons on one form, but it works well for me. On the machines that don't display the results properly a click of the Refresh (or Reload) button retrieves the new data?
The link to the page is:
http://power.arc.losrios.edu/~barnes...ode_writer.php
At the bottom of the page is a link "Display this page's source code..." click it to view the PHP source code as dump through the highlight function...with some other features I added, like reliable line numbers.
Thanks for any insight you can lend...
Rick
A starting point would be to write valid html. Try using http://validator.w3.org to clean that up first.
Steve
And then...?
Rick
On Sun, 14 Mar 2004 05:32:46 GMT, Rick <rb*****@nospam .net> wrote: Steve Holdoway wrote: On Fri, 12 Mar 2004 23:00:47 GMT, Rick <rb*****@nospam .net> wrote:
Hi folks,
I have a web page I wrote for a class assignment (which I embellished a little) that doesn't seem to work on all browsers, platforms, etc. The problem appears to be that the page doesn't refresh completely when the page calls it self. The refresh (which should happen when the form action fires) should reload a file into an iFrame, but it doesn't. I do have 3 submit buttons on one form, but it works well for me. On the machines that don't display the results properly a click of the Refresh (or Reload) button retrieves the new data?
The link to the page is:
http://power.arc.losrios.edu/~barnes...ode_writer.php
At the bottom of the page is a link "Display this page's source code..." click it to view the PHP source code as dump through the highlight function...with some other features I added, like reliable line numbers.
Thanks for any insight you can lend...
Rick
A starting point would be to write valid html. Try using http://validator.w3.org to clean that up first.
Steve And then...?
Rick
Fix the code, the above site will list the errors in yours. Then see
if it works when you use valid html! ng**********@re diffmail.com (R. Rajesh Jeba Anbiah) wrote in message news:<ab******* *************** ***@posting.goo gle.com>... Rick <rb*****@nospam .net> wrote in message news:<zir4c.175 50$i76.290957@a ttbi_s03>... Hi folks,
I have a web page I wrote for a class assignment (which I embellished a little) that doesn't seem to work on all browsers, platforms, etc. The problem appears to be that the page doesn't refresh completely when the page calls it self. The refresh (which should happen when the form action fires) should reload a file into an iFrame, but it doesn't. I do have 3 submit buttons on one form, but it works well for me. On the machines that don't display the results properly a click of the Refresh (or Reload) button retrieves the new data?
The link to the page is:
http://power.arc.losrios.edu/~barnes...ode_writer.php
At the bottom of the page is a link "Display this page's source code..." click it to view the PHP source code as dump through the highlight function...with some other features I added, like reliable line numbers.
Thanks for any insight you can lend...
Just tested. It's just a caching problem. Solutions: 1. Instead of generating code.html, just generate code.php but with no-cache header <http://in2.php.net/header> (Recommended solution) 2. Or try to add random values (timestamp) with the url like code.html?8900
Oops! Forgot to mention that if you adopt method 1, you have to
strip all PHP code in the input box before showing it in the preview
box; otherwise it will result in security risk.
--
"Democracy: Where all citizens are politicians and all politicians
are citizens"
Email: rrjanbiah-at-Y!com This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: thenetflyer |
last post by:
<!--
The following sample should authorize the user to log on the site.
This works once but after refreshing the browser, it does not prompt
again for login until all browser (IE 6) windows are closed and the
same page is opened.
I turned off all caching but still it does cache (as a refresh doen
not promt again).
How can I force the page to prompt for a password at every refresh ?
|
by: Andrew Chalk |
last post by:
In a Python script running under CGI, can I programatically redirect the
program to another page. Assume that I have a static HTML page that I want
displayed (e.g. index.htm). Other than 'print ...' is there any way to
redirect to this URL (for example, like Response.Redirect() in ASP)?
Many thanks.
|
by: ajay |
last post by:
How to make a web page getting refreshed after a given time interval automatically.
HTML Code plz.
Tx
Ajay
|
by: Dan Olson |
last post by:
I want to be able to view log files on web page and want to know what
the options are for dynamically updating the log output without
having to refresh the page. Basically have it behave like
"tail -f some.log".
I tried a java applet to display the log output from a TCP stream and
it works nicely, but then I discovered that the latest MS browers
don't come with java support and I prefer to do this without making
the user install any...
|
by: PK9 |
last post by:
I'm having an issue with the "Refresh" of an asp.net page. The refresh is
actually calling my last onClick event. I thought that asp.net was supposed
to be stateless in that it shouldn't remember that I clicked a button before
the refresh. Here is what is going on:
1) Page Loads
2) User enters some values, clicks the "Save" button
3) The onClick event handler for the save button saves the data to the
database and the page is...
| |
by: =?Utf-8?B?Z296ZXI2MQ==?= |
last post by:
Something happened to my development environment and I'm getting an error
that hasn't happened before. Not knowing why the error is popping up is
preventing me from figuring out what in my environment changed.
Environment: VS 2005 team developer, AJAX extensions, .NET 2.0.
Here's how I generate the error:
1. Create a new web site.
2. Drop a button on the default page.
|
by: Jeremy |
last post by:
Hi all,
I have database actions that will potentially take several seconds to
complete.
My normal page uses AJAX so keeping the user informed of what is
happening is not a problem.
However, the page also has fallback code in case of no Javascript. In
this case I would like to display temporary "please wait" type page
|
by: Chris Beall |
last post by:
(I'm rather inexperienced with JavaScript; the failing page was cobbled
together from multiple sources)...
http://pages.prodigy.net/chris_beall/STL/Timeline.html
If JavaScript is not present, or CSS 2 isn't supported, the page just
shows a complete list of dated entries. That's correct.
If JavaScript is present and CSS 2 is supported, a subset of the list is
shown (Example: 9 Jan 2008 is absent) and a button appears in the upper
|
by: Stefan Mueller |
last post by:
Hallo
I'm looking for a solution to display on a web page each second a new
line.
Unfortunately does the following solution not work with the Internet
Explorer:
http://test.seekware.ch/test/flush-withtable.php
PHP code:
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |