Dear All,
In my "Javascripts\english" folder I have language related javascript files. In one of these files there is a function I want it to get the return value of a function getChangedDate() from a general Javascript file called changes.js in my "Javascripts" folder.
I also want to use the same getChangedDate() function in from my "Javascripts\français", "Javascripts\italiano", "Javascripts\deutsch", "Javascripts\nederlands", ... folders.
How can I get this return value?
Someone suggested this soluton:
load("../changes.js") ;
changedDate = getChangedDate() ;
I also tried
load("/Javascripts/changes.js") ;
changedDate = getChangedDate() ;
or
load("\Javascripts\changes.js") ;
changedDate = getChangedDate() ;
or
load("..\changes.js") ;
changedDate = getChangedDate() ;
Non of these work, probably because there is not such a thing as a standard load() function.