Phillip Senn
Phillip Senn

Reputation: 47625

openDatabase is not defined

I have the following page:

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>

<body>
<script>
var dbo = openDatabase('HelloWorld');
</script>
</body>
</html>

and I'm getting in firebug: openDatabase is not defined.

Upvotes: 4

Views: 17249

Answers (1)

rocky3000
rocky3000

Reputation: 1120

You are trying to open a SQL storage but Firefox has no such feature. Mozilla will never implement it. Have a look at this question: Which version of firefox will support Web SQL?

Upvotes: 9

Related Questions