Skip to content

Instantly share code, notes, and snippets.

@jeremyBanks
Created July 16, 2011 02:23
Show Gist options
  • Save jeremyBanks/1085921 to your computer and use it in GitHub Desktop.
Save jeremyBanks/1085921 to your computer and use it in GitHub Desktop.
db.transaction("customers").objectStore("customers").get("444-44-4444").onsuccess = function(event) {
alert("Name for SSN 444-44-4444 is " + event.target.result.name);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment