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
Page 1 / 1
Never mind, I got that resolved.
this.hideNextButton();
var that = this;
variable "that" should be initialized when hideNextButton() is called.
this.hideNextButton();
var that = this;
variable "that" should be initialized when hideNextButton() is called.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.