therefore, I have tried many hours a day for the past 3 days. I investigated it to death, but still cannot get it.
Goal:
-file1.js has buttion, which when pressed will call the Main_Menu method in file2.js and open a new window created by this method or function.
unsuccessful attempts:
-i tried Ti.include, but always got a can not find file error, I tried changing the line to any possible path.
-var file = require (path), but cannot use the method inside the file, e.g. file.Main_Meue, does not work
I also tried many other things that do not come to mind, but if anyone has any tips or you need more information, just ask. PLEASE HELP AND THANKYOU
source share