Hiding Next Button until Link Click | XM Community
Skip to main content
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?
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