Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Open side in different frame with Buttons?

Posted on 1998-08-17
2
Medium Priority
?
237 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 300 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
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)

715 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