 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
tonyeveland
Joined: 04 Nov 2009
Posts: 3
|
| Posted: Wed Nov 04, 2009 10:13 am Submit with image rollover |
|
|
Hello,
The Submit with image rollover at the link below works well except for one thing. The sample code shows putting 1 submit button in a form and using the form action=".." to post a passable variable.
I need to have 2 submits in a single form and have each one post its own value.
Is this possible?
http://www.htmlcodetutorial.com/forms/index_famsupp_107.html |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 3593
Location: Biloxi, MS
|
| Posted: Wed Nov 04, 2009 2:07 pm |
|
|
| Using multiple submit buttons on a single form |
|
|
tonyeveland
Joined: 04 Nov 2009
Posts: 3
|
| Posted: Sat Nov 07, 2009 12:15 pm Thanks for your reply |
|
|
| But that code doesn't have the image rollover that is described in the link in my first post |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 3593
Location: Biloxi, MS
|
| Posted: Sat Nov 07, 2009 4:18 pm |
|
|
| It shows you how to put the two submit buttons on the form. I'm sure the rollover effects can be adapted to the second button. |
|
|
tonyeveland
Joined: 04 Nov 2009
Posts: 3
|
| Posted: Sun Nov 08, 2009 12:20 pm Thanks for your response |
|
|
Here is the script. The only way it seems to have to pass a post value is in the <form action="x.php"...>
Do you see any way to pass a value using this script?
<SCRIPT TYPE="text/javascript">
<!--
var sr = new submitroll("menu_buttons/school_item_menu_button_delete.jpg","menu_buttons/school_item_menu_button_delete_over.jpg","mysubmit");
sr.write();
sr.alt="OK";
sr.width=60;
sr.height=60;
sr.otheratts="ALIGN=TOP";
//-->
</SCRIPT> |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|