Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Open side in different frame with Buttons?

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

876 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