Solved

Open side in different frame with Buttons?

Posted on 1998-08-17
2
225 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
[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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
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.…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

740 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