Solved

refresh second frame with plugin inside

Posted on 1998-07-08
6
172 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
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)

708 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now