I have got a question. Is that possible to call a javascript from another one. If it is, can anyone tell me how to do that?
What I want to achieve is basically: I have got a php page. I do not want to put all the code here. It contains google map api js. I have written classes like Marker and MarkerManager. I want to keep them in another javascript file so I can call them from php.
To do this, I need to call google map api js from the js I have written which includes Marker and Manager class.
mytest.js (call google map api js) Marker MarkerManager
main.php (call mytest.js)
I hope this explains what I want to do.
Thanks in advance.