Solved

Open side in different frame with Buttons?

Posted on 1998-08-17
2
190 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
Comment Utility
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
Comment Utility
Ooh, thats easy. /Thank you
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now