redho home | products | services
Web Design Forums

Web Design Forums  


Web Hosting, Web Design, Software and Web Development Forums  
 FAQFAQ   MemberlistArchive  Log inLog in   RegisterRegister 
         

how to make the submit button a custom image


Goto page 1, 2  Next
 
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum
View previous topic :: View next topic  
Author Message
Gladis



Joined: 24 May 2006
Posts: 108
I have a little icon that a user can click on to do something right now. I want to change it from a link to a form, but keep the look. Is there a way to make the submit button a custom image? Or do I need to use JS to submit the form?
  Reply with quote


froomzer



Joined: 23 May 2006
Posts: 148
<input type="image"> might be an option...
  Reply with quote
Lusis Backwood JR



Joined: 26 May 2006
Posts: 87
Location: United States
froomzeryou 're very helpful in this channel
  Reply with quote
Gladis



Joined: 24 May 2006
Posts: 108
froomzer, if I do that, I still need an onclick="this.form.submit();" right?
  Reply with quote
plantino



Joined: 13 May 2006
Posts: 96
Gladis, Wrong.
  Reply with quote
Gladis



Joined: 24 May 2006
Posts: 108
froomzer, have you heard "CodeMonkey" by Jonathon Coulton?
  Reply with quote
froomzer



Joined: 23 May 2006
Posts: 148
No Gladis, you don't at all
  Reply with quote
Gladis



Joined: 24 May 2006
Posts: 108
froomzer, you should get it from jonathancoulton.com when you are done with your boring meeting.
plantino, froomzer, So type="image" will submit by default? Or is there something OTHER than the JS that I need to do?
  Reply with quote
plantino



Joined: 13 May 2006
Posts: 96
Yes. No.
  Reply with quote
Gladis



Joined: 24 May 2006
Posts: 108
Cool
Ok, I see that it passes a couple extra values, but does exactly what I wanted. Thanks
(it passes your_input_name_x and your_input_name_y)
  Reply with quote
Page 1 of 2 Goto page 1, 2  Next
Post new topic   Reply to topic    Web Design Forums -> JavaScript forum


Dubai Forums - Expat Help | Vegan Chat | Java Programming | Free 3D tutorials and 3d textures | Paris Forum | EU Forum
Free Dubai Classifieds | Free London Classifieds | Jobs in London

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Powered by phpBB © 2001, 2005 phpBB Group