Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

openDatabase is not defined

Tags:

html

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.

like image 365
Phillip Senn Avatar asked Jan 20 '23 01:01

Phillip Senn


1 Answers

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?

like image 99
rocky3000 Avatar answered Feb 01 '23 01:02

rocky3000