开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜