My JavaScript (MyScript) opens a new window with reference to a page (TheOtherSite) on which I have no control. Depending on different events, TheOtherSite returns different messages.
What I want is MyScript to pick up the messages from TheOtherSite and act according to the different messages...
PS:
I forgot to mention; You may have to remove the onfocus statement in the body tag. Otherwise a delay function has to be added.
Hopefully you can use the code as a baseline to build your own functionality on.
Bjorn
Ok. Here is another solution with use of more code. You'll find the complete code below. This is working for MIE 5.5. This time you are uing one window only.
Feel free to use it.
Bjorn
-------------------------
<HTML>
<HEAD>
<script language="JavaScript1.2">
if (window != top)...
Hi
One solution is to open a printer friendly version of the page in a new window. That means a page without those objects you don't want to print (buttons etc.)
Use JavaScript to check if the print button was clicked. If so then open the same page (without buttons)in a new window, print the...
How can I determine the complete URL for the previous page? I also need to find a way to determine if the user arrives from a page using http or https.
Bjorn
I wrote the script below to prevent users from clicking the save button twice (if the internet connection is slow).
This is how my script works - so far:
The user clicks the save button and a child window displaying "Saving. Please wait." pops up. When the save operation is completed...
Hi
How can i determine the time elapsed between to mouse clicks?
What I want is the javaScript to display a warning message if the user clicks the same graphic button more than one time within e.g. 30 seconds.
Grateful for any answere.
rgds BjornA
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.