Instead of using actual submit buttons, you could use input type="button"
name="b1" onclick="MySubmitFunction(This.name <http://This.name>)"
 Then you need to create a javascript function that is setup to accept your
call and it will inheriently pass in the name of the button as one of the
parameters. Use this param as the answer to your question
  Here is an example

<script type="text/javascript" language="JavaScript">
function MySubmit(myButtonName)
{
if(myButtonName == 1)
{
alert("You hit Button 1");
}
else
{
alert("You hit Button 2");
}
}
</script>

<form name="myform">
<input type="Button" name="1" value="1"
onclick="MySubmit(this.name<http://this.name>
);">
<input type="Button" name="2" value="2"
onclick="MySubmit(this.name<http://this.name>
);">
</form>

 Hope That Helps
 =]
 On 9/22/05, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> I would guess some status check on the m1 and m2 elements in the DOM. I
> have no idea what that would be, but I'm fairly sure it is there somewhere.
>
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org <http://www.BloodSource.org>
> Sacramento, CA
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice: This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219022
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to