Peter LPunkt
Posts: 0
Joined: Mon Jan 13, 2014 3:07 pm

Unable to hide/disable toggle elements

Hi there,

i cant seem to be able to hide/disable some mobiletoggle elements. I have a four toggle elements in a grid, placed inside a collapsible block (see screenshot).

I want to disable all four after the user has clicked the button "Auswerten".

I tried this js on click event:
Appery('mt_freetimerelax').flipswitch( "options", "disable", true );
Appery('mt_freetimerelax').flipswitch( "disable" );
Appery('mt_freetimerelax').hide(); Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Unable to hide/disable toggle elements

Hello Peter,

Please try this JS code:

code $(".startScreen_mobiletoggle_12").hide();/code

where startScreen - name of the page,
mobiletoggle_12 - name of the toggle component

Peter LPunkt
Posts: 0
Joined: Mon Jan 13, 2014 3:07 pm

Unable to hide/disable toggle elements

hi there,
thanks for the fast reply.

Hide works.

Cheers

Return to “Issues”