Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: Two ways for button action


Message #1 by Gui You <guiyou01@y...> on Wed, 29 Jan 2003 06:38:43 -0800 (PST)
Hi everybody,

I do think that the two ways below for a button action works well in the same result, but my codes in the 2nd way never worked.
Please help me to find out what is the problem here. Thanks.

 

YoYo

 

1. 

 

<form name=?frmname? action=?samepage? method=?post?>

 

<input type=?button? name=?ActionID? value=?Update? ?document.frmname.submit();?>

 

do something here??

 

2. 

<form name=?frmname? action=?samepage? method=?post?>

 

<input type=?submit? name=?ActionID? value=?Update? >

 

If Request.Form(?ActionID?) = ?Update? Then

 

Do something here

End If



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

  Return to Index