jquery - Web Worker Javascript cannot find functions in other javascript files -
i have html file this: <html> <head> <title>world aviation</title> <script language="javascript" src="./jquery-min.js"> </script> <script language="javascript" src="./jsdraw2d.js"> </script> <script language="javascript" src="./script.js"> </script> </head> <body> <input onclick="startanimbackground();" type="button" value="start"/> <script language="javascript"> initairports(); initroutes(); var w; function startanimbackground() { if(typeof(worker) !== "undefined") { if(typeof(w) == "undefined") { w = new worker("start_script.js"); ...