Need Good onSubmit New Window Code!

Posted on 2000-05-02
Last Modified: 2012-06-21
Anyone have good code for opening a new browser window without
the menus, adress, etc., from a clicking a submit button to a cgi script to display that cgi's returned data?

The code I been finding to use for this works well, but has IE4 quirks that is annoying like the opening of two windows! Strange though, code I have found works well from within FrontPage or AOL, but moment you try it with IE4 browser it always opens a new window, abondons it, and then opens a regular IE4 browser window......messy!!

Question by:ohmeohmy

Expert Comment

ID: 2771683
javaScript and java are two very different things, try asking in the javaScript group

Accepted Solution

terajiv earned 100 total points
ID: 2771918
try this out

Javascript in frame1:
                  - or -
                  Java applet in frame1:

MyApplet applet = new MyApplet();
                  Frame dummy = new Frame("Applet Frame");
                  dummy.setLayout(new GridLayout(1, 1));
                  dummy.setSize(300, 300);

I hope using this u can code in much better way

All the Best


Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to add new optional parameter to JSP 1 42
fibonacci ten numbers 4 39
servlet filter example 37 63
CSV file parsing thru Java 13 31
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

803 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