Solved

replacement of "input type=submit"

Posted on 1997-11-24
3
176 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
ID: 1831346
<input type=image src="button.gif" name="Logout">
0
 

Accepted Solution

by:
philipm earned 100 total points
ID: 1831347
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
ID: 1831348
Expertise on this site has become a joke.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
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 how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

773 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