JQUERY not working

Jun 26, 2017

Hi.

I want to hide the menu using JQUERY code. I am using the following code:

$(‘.area-secondary’).hide()

I have used inspect element in chrome to find the class of the element that I want to hide but it's not working. What should be done here?

Thanks 

8 Replies
Knut Jackowski

I have created two storyline example projects, where it works (at least in the HTML5 output).

One with jQuery and one with the same functionality (toggle the visibility of the menu) with plain JavaScript.

Both do not work in the preview, like all JS-triggers, only in the published projects.

This discussion is closed. You can start a new discussion or contact Articulate Support.