Hiding Next Button until Link Click | XM Community
Solved

Hiding Next Button until Link Click

  • 7 May 2019
  • 1 reply
  • 41 views

Hello,
i saw similar questions and syntaxes in the community but that didnt help me that much, because i am very unexperienced with javascript.
I managed to hide the "Next" Button with this
$('NextButton').hide();
$('PreviousButton').hide();
});

and now i want it to appear again if the participant clicks on the link in the question. How would the sytax for that look like? Can anyone help me with that?
icon

Best answer by Anonymous 7 May 2019, 18:20

View original

1 reply

Hello @lurox ,

Add a click event on the anchor tag and show the button on this event.

Code to show button:

$('NextButton').show();
$('PreviousButton').show();

Leave a Reply