Unable to add data to indexeddb objectstore
问题 I am using the jquery-indexed-db plugin to make a sample project just to go about learning indexeddb. JS CODE $(function() { /*Loggers*/ write = function(info) { console.info(info); } writeError = function(e) { console.info(e); } /*Settings*/ dbName = "testDB"; osName = "list"; /*DB Init*/ db = $.indexedDB(dbName).then(write, writeError) /*ObjectStore Init*/ objectStore = db.objectStore(osName, false); /*Adding a new record*/ $("#submit").click(function(){ objectStore.add( { "Name": $("#name"