Solved

Open side in different frame with Buttons?

Posted on 1998-08-17
2
209 Views
Last Modified: 2006-11-17
Hi.

I'm doing a Chat-site in C (CGI) and I have a Html-doc
with a Form included a Submit button.
When the user clicks the Submit-button my program sends
back a Html-doc.
Now I want to use Frames and the Html-doc should not show
up in the same Frame as the button.
If I use an ordinary link (instead of a button)I can manage this with the Target tag, but can I do the same with a button?
(the reason I'm using a Button is that the user can hit
the Return-key instead of using the mouse)
Pelle /Sweden
0
Comment
Question by:PerBoman
2 Comments
 
LVL 8

Accepted Solution

by:
jbirk earned 100 total points
ID: 1836775
Yes in the form tag put the target just like you would a link.
So, <FORM action="program.cgi" target="framename"> will target the response of the form submission to that frame!

Hope this works out for you,
Josh
0
 

Author Comment

by:PerBoman
ID: 1836776
Ooh, thats easy. /Thank you
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

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…
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

777 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