| 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? |
| |
|
|
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| <input type="image"> might be an option... |
| |
|
|
Lusis Backwood JR
Joined: 26 May 2006 Posts: 87 Location: United States
|
| froomzeryou 're very helpful in this channel |
| |
|
|
Gladis
Joined: 24 May 2006 Posts: 108
|
| froomzer, if I do that, I still need an onclick="this.form.submit();" right? |
| |
|
|
plantino
Joined: 13 May 2006 Posts: 96
|
| Gladis, Wrong. |
| |
|
|
Gladis
Joined: 24 May 2006 Posts: 108
|
| froomzer, have you heard "CodeMonkey" by Jonathon Coulton? |
| |
|
|
froomzer
Joined: 23 May 2006 Posts: 148
|
| No Gladis, you don't at all |
| |
|
|
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? |
| |
|
|
plantino
Joined: 13 May 2006 Posts: 96
|
| Yes. No. |
| |
|
|
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) |
| |
|
|
| Page 1 of 2 |
Goto page 1, 2 Next |
|