How to make a drop-down list, i. Suppose there is a dictionary field, I click on it and it is revealed and the key is visible - the meanings of the words of the dictionary as on this site the section "Additional requirements for participants in the procurement of certain types of goods, works, services" , only without check marks.
1 answer
You can use jQuery .
Example
$(document).ready(function() { $('#showmenu').click(function() { $('.menu').slideToggle("fast"); }); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <div id="showmenu">Список элементов</div> <div class="menu" style="display: none;"> <ul> <li>Элемент №1</li> <li>Элемент №2</li> <li>Элемент №3</li> </ul> </div> - Thank you What you need - Andrey
- @Andrey please - user192664
|