Hiding Next Button until Link Click | XM Community
Skip to main content
Solved

Hiding Next Button until Link Click

  • May 7, 2019
  • 1 reply
  • 72 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?

Best answer by Anonymous

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();

1 reply

  • Answer
  • May 7, 2019
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();