Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

247
Views
How do you invoke the query for a callback onto a local file in javascript, when you cannot just call the method?

So I'm trying to make https://github.com/jamiew/canvasplayer work with local files to make a slide show of some tags on a non wifi enabled raspi. Now, why is it only possible to call the last part of the code like this:

 // append the cust <script> tag
var s=document.createElement('script');

s.setAttribute('src','http://000000book.com/data/'+tag_id+'.json?callback=load_gml');

But not like this?

s.setAttribute('src','65509.json?callback=load_gml');

or just calling the load.gml with the json file. that also does not work because i cannot load the local json from my disk. Help?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!