I have javascript script code here. When I execute my code as it is then it does not trigger func_two
function. But when I change following code in func_one
if (this.remove) {
this.func_two;
}
to this
if (this.remove) {
this.func_two();
}
Then it does trigger second function. But I want to trigger it this way this.func_one
. IS it possible to do it this way? How?