Search code examples
javascripttemenos-quantum

Kony Reference Error :- Can't find variable: testCall


In my code i have a simple drop down, on select of which i am calling a function called testCall() , But for some reason i am seeing a reference error :- cant find variable: testCall , Can any one please help

code below

function testCall(){

    //print statements
    //kony.print("test");

}

screen shots enter image description here

enter image description here


Solution

  • if there is any error in your function of the entire js file, such errors appear, in my case i had a single equals in a if condition which was the issue.