When I try to select multiple lines using the Ctrl key, the border of the selected td will be blue.
I use this code to check if the Ctrl key is pressed or not:
$("#unSelectedTab td").click(function (event) { if (event.ctrlKey) { $(this).toggleClass("backgroundcolor"); } else { $("#unSelectedTab td").removeClass("backgroundcolor"); $(this).addClass("backgroundcolor"); } });
source share