HTML Form without button
- Started
- Last post
- 9 Responses
- Atkinson
This is something I knew but haven't used for ages and now can't remember. An image input form, eg apyapl 'add to cart' button.
<input type="image" src="https://www.payp.....Instead of an image I just want the text 'buy' displayed as if i were a standard link - no image. How do I do that? Have checked online but can't find t'answer!
- jamble0
You could just style the normal submit button to look the same as your links.
- Atkinson0
no way of just using standard text though?
- yaphi0
or use javascript on a link to submit the form
document.formnamehere.submit();
- Atkinson0
hm, want to avoid JS if poss
- yaphi0
well you can't have it both ways. Either use a submit button with border and background turned off, or use javascript on a regular link to submit your form.
The end.
- trooper0
<button><img src=foo.gif></button>
- Atkinson0
Ah, I think it can be done with alt= can it not?
- yaphi0
Ok, one last time:
http://giraffesarebig.com/temp.h…These are really your only options. No alt tag, nada.
- Haydesign0
LOL @ "eg apyapl"
Sounds like Happy Apple!