Delete the sync.get in onsubmit event to fix bug(can not get the right DB)