Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

refresh second frame with plugin inside

Posted on 1998-07-08
6
Medium Priority
?
198 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

916 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