L
L
Lavrov952018-02-09 17:55:06
JavaScript
Lavrov95, 2018-02-09 17:55:06

How to take those country names where selected and when I change it changed in real time?

<select id="countries" multiple="multiple">
    <option value="1" selected>Russia</option>
    <option value="2">USA</option>
    <option value="3" selected>Canada</option>
    <option value="4">Germany</option>
    <option value="5">Georgia</option>
</select>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question