Hello, I am using jQuery UI Accodions.
By default, the first accordion is displayed, while others are hidden. I would like to hide all the accordions by default until the user clicks on it.
How to do it?
thank
This code should execute this
$( ".selector" ).accordion({ active: false });
This is updated code to execute the corresponding.
$ (".selector") .accordion ({active: false, collapsible: true});
" false . , ". http://api.jqueryui.com/accordion/#option-active
Source: https://habr.com/ru/post/1765501/More articles:Как отправить данные с функцией загрузки в jquery - jqueryКак проверить пустое пространство в java - javaExecute another PHP file without waiting for its completion. - phpHow to get sketch url from azure table - azureDifferences between Flash and AIR - flash в app.config Не удалось найти информацию о схеме для элемента 'userSettings' - c#Java: creating random numbers with a logarithmic distribution - javaAsynchronous communication between two applications - c #Why is this Perl code using 1; expression? - perlWhy is my javascript not working - javascriptAll Articles