Why are my onsuccess/onerror callbacks not called when using indexedDB?
问题 Im trying to create a login form. I have a few usernames (objects) in the db. I've created a form which takes the user name submitted (primary key) and checks if it's in the db. However after the information passes through my loginCheck() method the page just refreshes and doesn't run the success nor the failed alerts I set to debug JS: //-------------USER DB------------------// function startDB(){ //sign in page elements logUser = document.getElementById('logUserName'); logPass = document