“Cannot call method 'open' of undefined” error when using indexedDB.open

后端 未结 2 1520
情歌与酒
情歌与酒 2021-01-19 05:12

I am new to IndexedDB and I am following this guide IndexedDB Tutorial I am simply trying to create a database and then be able to add a few entries. This is what I have so

2条回答
  •  南方客
    南方客 (楼主)
    2021-01-19 05:35

    Here is the indexeddb demo from html5rocks which i have improved to work on Mozilla Firefox and added features for viewing details data and editing existing data. Inside you have explanations how to create db, insert, update and delete data in indexeddb.

    https://github.com/denimf/IndexedDbToDo

提交回复
热议问题