5 buttons accessing same startup script
I have a scenario in which 5 buttons else two or more same controls need to access the same startupscript (ASP.NET). Is it possible?? If so give me a details code snippet. Thanks in advan开发者_Go百科ce.
Sure, have all the buttons submit the same form.
<form action='yourScript.asp' action='post'>
<button name='b1'>1</button>
<button name='b2'>2</button>
</form>
Then check in your script which of the buttons was sent.
精彩评论