Solved

refresh second frame with plugin inside

Posted on 1998-07-08
6
178 Views
Last Modified: 2013-11-18
I have 2 frames:
  the first one has some check buttons and a submit button wich activates a CGI
  the second one handles the returned data
my problem:
  after the submit i don't see the data in the second frame because the plugin doesn't refresh in netscape, but in   MSIE it works.
0
Comment
Question by:schnizer
  • 3
  • 3
6 Comments
 
LVL 4

Accepted Solution

by:
jbrugman earned 50 total points
ID: 1844587
try JavaScript: or reload the page by recalling it, or reload the frame, or refrech the plugins. Good luck.

<SCRIPT LANGUAGE="JavaScript">
function reloadit() {
// use:
parent.frames[2].location="nameoffiletoberefreched.html";

// or use
parent.frames[2].location.reload();

// or use
navigator.plugins.refresh();
}
reloadit()
</SCRIPT>
0
 

Author Comment

by:schnizer
ID: 1844588
Your tips are an improvement:

The javascript "parent.frames[2].location.reload(); "   
works as onclick-event of an input, type=checkbox

But i have 2 problems remaining:

it doesn't work as onsubmit-event of the form
MSIE returns a script error (object doesn't support this method/property)

0
 
LVL 4

Expert Comment

by:jbrugman
ID: 1844589
You mean:

<FORM NAME=form ACTION=etc. onSubmit="reloadit()">

?
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:schnizer
ID: 1844590
yes, i mean this
0
 
LVL 4

Expert Comment

by:jbrugman
ID: 1844591
why not try :
navigator.plugins.refresh();
in that case, only the plugins are refreched. Prehaps it works better.
Good luck,

Justus Brugman
0
 

Author Comment

by:schnizer
ID: 1844592
Clearly i have tried "navigator.plugins.refresh();", but it doesn't work.

In the meantime i've found another solution which works:

  I use a "button input" instead of the "submit input" and handle the onClick event
with a Javascript. This Script sets the location explicitly to the CGI-call-string.

Thanks for your help
Reinhold Schnizer

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JavaScript Loan Calculator Error 3 19
convert Systemjs to Webpack 3 37
really easy css change help please 4 19
CSS Style 8 23
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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)
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

821 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