Solved

Simple html question

Posted on 2000-03-21
13
177 Views
Last Modified: 2012-05-04
hey folks,

I want a submit button with a simple piece of graphics ..hmmm..apparantly that isnt all that easy..hehe

amongst the zillion differant things I tried here is one :

<INPUT TYPE="SUBMIT" IMG SRC="end.gif">


uhm..what am I doing wrong ?


Regards,

GOMF
0
Comment
Question by:GOMF
13 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 2640159
Try this:

<INPUT type='image' src='end.gif'>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2640166
Try this:

<INPUT type='image' src='end.gif'>
0
 

Author Comment

by:GOMF
ID: 2640173
no can do, the IMAGE type returns a position of where i clicked on the picture, I need to be able to send data with the form back to a isapi module.


Regards,

GOMF
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:GOMF
ID: 2640188
above reason
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2640194
Try this:

<A href='#' onClick='document.formname.submit();return(false);'><IMG src='end.gif'></a>
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2640199
... where "formname" is the name of your form.
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2640460
also, include border=0 in the image tag.

<A href='#' onClick='document.formname.submit();return(false);'><IMG src='end.gif' border='0'></a>
0
 

Expert Comment

by:Deathead
ID: 2640631
Knight is right that would be the best way to do it
0
 

Expert Comment

by:ma8yr
ID: 2640801

<FORM ACTION="" METHOD="">
<INPUT TYPE="Image" SRC="end.gif" name="Submit">
</FORM>

where the Action= the location and operation of the ISAPI module and the method is either Post or Get, in your case "post".
0
 
LVL 33

Accepted Solution

by:
knightEknight earned 50 total points
ID: 2641386
Using input type=image is the same answer that was already rejected.
0
 

Author Comment

by:GOMF
ID: 2643391
yeah well no can do.
0
 

Author Comment

by:GOMF
ID: 2643393
thanks

Regards,

GOMF
0
 
LVL 33

Expert Comment

by:knightEknight
ID: 2644578
Did you try this:

<A href='#' onClick='document.formname.submit();return(false);'><IMG src='end.gif' border='0'></a>


... where "formname" is the name of your form?
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses four methods for overlaying images in a container on a web page
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ā€¦
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

856 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