| View previous topic :: View next topic |
| Author |
Message |
Gladis Enthusiastic Coder
Joined: 24 May 2006 Posts: 107
|
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 Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
Lusis Backwood JR Enthusiastic Coder
Joined: 26 May 2006 Posts: 87 Location: United States
| |
Gladis Enthusiastic Coder
Joined: 24 May 2006 Posts: 107
|
froomzer, if I do that, I still need an onclick="this.form.submit();" right?
Reply with quote
|
| |
|
|
plantino Enthusiastic Coder
Joined: 13 May 2006 Posts: 96
| |
Gladis Enthusiastic Coder
Joined: 24 May 2006 Posts: 107
| |
froomzer Enthusiastic Coder
Joined: 23 May 2006 Posts: 148
| |
Gladis Enthusiastic Coder
Joined: 24 May 2006 Posts: 107
|
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 Enthusiastic Coder
Joined: 13 May 2006 Posts: 96
| |
Gladis Enthusiastic Coder
Joined: 24 May 2006 Posts: 107
|
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 |
|