?
Solved

Simple html question

Posted on 2000-03-21
13
Medium Priority
?
183 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 200 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

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

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
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 to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
Suggested Courses

839 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