User-1838255255 posted
Hi anooshiravan,
According to your description and code, may be you want to call the JS function, but this function needs parameter, check need how many parameters? if only need one parameter, please remove , , like functionname(3); if
need two parameters, please add the second parameter after ,.
About how to debug JS code and check which line caused error, please check this tutorial:
https://www.w3schools.com/js/js_debugging.asp
Best Regards,
Eric Du