Hi Bahar,
You can use this code to expand/collapse accordingly:pre$("[data-role=collapsible]").collapsible("expand");
$("[data-role=collapsible]").collapsible("collapse");/pre
Hi Bahar,
You can use this code to expand/collapse accordingly:pre$("[data-role=collapsible]").collapsible("expand");
$("[data-role=collapsible]").collapsible("collapse");/pre
Works well.....
Katya, you always seem to be spot on with your responses.
Hi Bahar,
Thank you, we are doing our best to help
How to use this code? Is it a Javascipt? Why I can't run it even I change the specific block id?
Hello,
A person, who used this code, used this JavaScript as the handler of event click for the button.
I have tried to used it as a Javascipt Handler, but failed to expand the collapse block. Any additional script need to add above it or below it when I used in the event tab?
Please check, are there any errors in the console of the browser? Also please make sure that you use the correct name for mobilecollapsibleset
How do i implement this.
For example with the collapsable block name 'mobilecollapsblock_397'
?
Hi,
Like the following:
preAppery("mobilecollapsblock_397").collapsible("expand");
Appery("mobilecollapsblock_397").collapsible("collapse");/pre