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

171
Views
I used indexdDB for a web application where I stored the data in form fields. How can I retrieve the data I stored in the form of json format?

This is where the data is stored let db

    window.onload = () => {
        let request = window.indexedDB.open('tasks', 1)

        request.onerror = () => {
            console.log('Database failed to open')
        }

        request.onsuccess = () => {
            console.log('Database opened successfully')
            db = request.result;
            displayData();
        }
        request.onupgradeneeded = (e) => {
            let db = e.target.result;
            let objectStore = db.createObjectStore('tasks', { keyPath: 'id', autoIncrement: true });

            objectStore.createIndex('task', 'task', { unique: false });
            objectStore.createIndex('role', 'role', { unique: false });
            objectStore.createIndex('time', 'time', { unique: false });

            console.log('Database setup complete');
        };

This is where I created the db I want it in the json format. Where can I find it?

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!