does clickNextButton() work? | XM Community
Skip to main content
I embedded below code in Javascript section but gets JS error. var that = this; (function(){that.clickNextButton();}).delay(1); error from console: Uncaught TypeError: that.clickNextButton is not a function at Function.eval (eval at <anonymous> (vendor.e2b66d0f33fd054a16d6.js:1), <anonymous>:14:22) at jsApi.6dbbb6a4606f2a3bb38e.js:1
Never mind, I got that resolved. this.hideNextButton(); var that = this; variable "that" should be initialized when hideNextButton() is called.