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

181
Vistas
Change path for websql database and access it from a different location on the server (JavaScript)

I am running apache on ubuntu linux, and I would like to be able for my website to access the websql database.

How might I access it from the same Javascript in two webpages (Namely get data from index.html and access it in mylist.html)

Here is my code for now without retrieving data:

var db = openDatabase('articles', '1.0', 'Saved Articles', 2 * 1024 * 1024); 

db.transaction(function (tx) {   
  tx.executeSql('CREATE TABLE IF NOT EXISTS ARTICLES (id unique, log)');
  tx.executeSql('INSERT INTO ARTICLES (id, article) VALUES ('+ac.parentNode.innerHTML+')'); 
});
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