I\'m using a select tag in a form I\'m making that allows multiple selections, but I want to make the maximum amount of selections upto 10. Is this possible using javascript
Here is some full code for you to use...gotta love the Google AJAX API Playground :-)
Edit 1: Note: this only lets you choose 5 because I didn't feel like copy/pasting another 10 options :-)
Sample Select Maximum with jQuery First Option Second Option Third Option Fourth Option Fifth Option Sixth Option Seventh Option Eighth Option Ninth Option Tenth Option
Demo