I am trying to: same as at hidden link advanced option when clicked open and close advanced options with check boxis
Instead, I got: At first it works but when results are updated it stops working.
Or when I put the term directly in search box "Upišite ime firme ili delatnost" the advanced search don't hide or show.
hidden link
Can someone help, please.
Dear Hajrudin,
Please edit the view and try this:
in section "Custom Search Settings", enable option " Let me choose individual settings manually", and enable option "Always show all values for inputs", and test again.
I have manage to solve that with jQuery:
<div class="search-advanced">
<a class="small">Delovi Grada "</a>
<br />
<div class="delovi-grada-sve"> <div class="delovi-grada">
[wpml-string context="wpv-views" ][/wpml-string] [wpv-control taxonomy="predgrade" url_param="wpv-predgrade" type="checkboxes" format=" %%NAME%% %%COUNT%% "]</div>
<div class="delovi-grada">
[wpml-string context="wpv-views"][/wpml-string] [wpv-control taxonomy="deo-grada" url_param="wpv-deo-grada" type="checkboxes" taxonomy_order="ASC" taxonomy_orderby="name" hide_empty="false" format=" %%NAME%% %%COUNT%% "]</div>
<div class="delovi-grada">
[wpml-string context="wpv-views"][/wpml-string] [wpv-control taxonomy="poznata-lokacija" url_param="wpv-poznata-lokacija" type="checkboxes" format=" %%NAME%% %%COUNT%% "]</div>
</div>
</div>
jQuery:
jQuery(document).ready(function(){
jQuery('.delovi-grada-sve').hide()
jQuery("body").on('click','.small',function(){
jQuery(".delovi-grada-sve").toggle(1000);
});
});