Click here to Skip to main content
15,895,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all.

I would like to know how (if there's a way) to handle multiple link clicks via the ctrl key.

So for example the user would go to a web page with about 3 hyperlinks on it. Then the user would hold down the ctrl key, then click one link then another. Then when the ctrl key is released, an event will occur (maybe a search based on the combination of both hyperlinks' values).

I am using C# and assume the solution will probably be done in jQuery?


Thanks,
M
Posted
Comments
Dhanamanikandan 25-Apr-12 5:27am    
Sorry, I am not clear with your question.. Do u like to open link or select a link in a page using ctrl key?

1 solution

Both, actually.

It should work similar to how windows explorer does. Where you hold down the ctrl key, then select a file, then another and then cut or paste it somewhere.

What I want to achieve is similar. Where a user will hold down on the ctrl key then click one link, then another then another (all on the same web page). All while holding down on ctrl key. When ctrl key is released, system must run a search or event based on what was clicked.

Thanks for you response.

M
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900