Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

248
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda