How to limit the number of selected items in multi-choice. For example:
<select multiple="multiple" name="region"> <option value="1">Киев</option> <option value="2">Москва</option> <option value="3">Лондон</option> <option value="4">Париж</option> <option value="5">Рим</option> <option value="6">Мадрид</option> </select> It is necessary that you can choose a maximum of 3 cities. After popped warning that all items are selected.