Solved

Simple html question

Posted on 2000-03-21
13
173 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
 

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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

758 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

19 Experts available now in Live!

Get 1:1 Help Now