Solved

refresh second frame with plugin inside

Posted on 1998-07-08
6
185 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
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…

627 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