I recently had to implement some javascript code to prevent the user from selecting more than x items from an ASP.NET ListBox control. I expected trouble, because you can select a ListBox item either from the keyboard, or using the mouse. So I had to take care of both. Fortunately, I ran into the jQuery’s [...]
