Solved

replacement of "input type=submit"

Posted on 1997-11-24
3
173 Views
Last Modified: 2013-12-25
I would like to replace the ugly standard submit button
with an image. The try with

"<input type=image src="button.gif" value="Logout">"

does not works.


<form method=post action="cc.cgi" target="_top">
<input type=hidden name="raum" value="Treffpunkt">
<input type=hidden name="name" value="Renate">
<input type=hidden name="where" value="Logout">
<input type=submit value="Logout">

Thanks for your help

0
Comment
Question by:nadia
3 Comments
 
LVL 84

Expert Comment

by:ozo
Comment Utility
<input type=image src="button.gif" name="Logout">
0
 

Accepted Solution

by:
philipm earned 100 total points
Comment Utility
To properly use an image in an HTML form, you must use the tag:

<INPUT TYPE=IMAGE SRC="your_graphic_here.gif">

When your user clicks on this, the form will be submitted along with the x and y coordinates of where your user clicked on the image.  Most pre-written cgi's will not work unless they are set up to handle these x and y coordinates.
0
 
LVL 5

Expert Comment

by:julio011597
Comment Utility
Expertise on this site has become a joke.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

763 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

13 Experts available now in Live!

Get 1:1 Help Now