简体   繁体   English

如何在ASP.NET中选择多个图像按钮

[英]How to select more than one image button in ASP.NET

Can I select more than one image button ? 我可以选择多个图像按钮吗? for example : I have 4 image buttons, each image button has a different function onclick 例如:我有4个图像按钮,每个图像按钮具有不同的onclick功能

Image_Button_1 = button1()
Image_Button_2 = button2() 
Image_Button_3 = button3() 
Image_Button_4 = button4()

I want to make a program for running every function.. if I select Image_Button_1 and Image_Button_3 , button1() and button3() will run 我想制作一个运行每个功能的程序。如果我select Image_Button_1Image_Button_3 ,则button1()button3()将运行

how to select more than image button using shift/ctrl click or anything... 如何使用shift / ctrl单击或其他方式选择多个图像按钮...

If you are using javascript or jquery then event delegation might help you 如果您使用的是javascript或jquery,则事件委托可能会为您提供帮助

What is DOM Event delegation? 什么是DOM事件委托?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何检查一个项目是否存在于多个列表框中? ASP.NET/C# - How to check if an item exists in more than one listbox? ASP.NET/C# 使用asp.net MVC选择图片上的一个或多个像素 - Select one or more pixels on a picture with asp.net MVC 如何在同一个网页中使用多个语音转文本功能? (ASP.NET,Javascript) - How can I use more than one speech to text function in the same web page? (ASP.NET, Javascript) jQuery-asp.net mvc-字段不接受数字序列中的多个逗号-浮点数 - jQuery - asp.net mvc- Field is not accepting more than one comma in a sequence of numbers -float numbers 如何在asp.net中禁用图像按钮onlclick? - How to disable image button onlclick in asp.net? 如何限制用户不要使用javascript或jquery在asp.net复选框中选中5个以上的复选框? - how to restrict user not to check more than 5 checkboxes in asp.net checkboxes using javascript or jquery? 在经典asp中单击按钮时调用多个函数 - call more than one function on button click in classic asp 使用DataTables使用WebAPI在ASP.NET MVC上生成多个CSV文件数据,并根据条件突出显示单元格 - Generating more than one CSV File using DataTables Data on ASP.NET MVC using WebAPI and highlight Cell based on the condition asp.net mvc3中的“阅读更多”按钮 - Read More button in asp.net mvc3 Web应用程序(ASP.NET 2.0)中带有显示更多按钮的工具栏 - Toolbar with show more button in Web Application (ASP.NET 2.0)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM