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 get into firebug: openDatabase is undefined.

+4
source share
1 answer

You are trying to open SQL repository, but Firefox does not have this feature. Mozilla will never execute it. Take a look at this question: Which version of firefox will support web SQL?

+9
source

Source: https://habr.com/ru/post/1346961/


All Articles