refresh second frame with plugin inside

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.
schnizerAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jbrugmanConnect With a Mentor Commented:
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
 
schnizerAuthor Commented:
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
 
jbrugmanCommented:
You mean:

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

?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
schnizerAuthor Commented:
yes, i mean this
0
 
jbrugmanCommented:
why not try :
navigator.plugins.refresh();
in that case, only the plugins are refreched. Prehaps it works better.
Good luck,

Justus Brugman
0
 
schnizerAuthor Commented:
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
All Courses

From novice to tech pro — start learning today.