Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

hide component

Hi,
I have 2 collapsible blocks mobilecollapsblock_92, and mobilecollapsblock_188.
there is a service running to each block.

I am looking to hide one of the blocks on success of the others service

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

hide component

Hi Michael,

On Service Success event you can run the JS code. Choose the code you like more here: https://getsatisfaction.com/apperyio/...

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

hide component

Hi,
I used this code on success of service, $(mobilecollapsblock_188).hide();
but it throws an error, its porb. the wrong code,
s/s
Image

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

hide component

Hi Michael,

To check if the component is visible or hidden run:
codeAppery("mobilebutton_12").css('visibility')/code
To show/hide use:
codeAppery("mobilebutton_12").hide();
Appery("mobilebutton_12").show(); /code

Return to “Issues”