Solved

Simple html question

Posted on 2000-03-21
13
176 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
css, html 5 42
Why isn't the "Select Name" showing on this form drop down 4 30
Scroll 5 news at a time. 4 28
Downside of adding characters set in ASP pages 6 22
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

803 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