We are currently having problems with WebSQL. I have attached a file to demonstrate the issue. Running this in Chrome or Safari works fine, however in Neon I believe the database is not being created. To use, Copy index.html onto device. Modify the config.xml file Run Neon Click Create button to create datbase and populate tables Click Display button to display the table on screen. Any help will be gratefully received. Gary.
WEBSql Database Issue// Expert user has replied. |
2 Replies
Gary The problem is the size of the database. The config.xml has a section that defines the size. I think you are creating the database with a size bigger then what you have in the config.xml. here is the section in the config.xml Using the above, I changed your open database line to: var db=openDatabase("cognito","1.0","",2000); or likewise make the And then it should work. Check your config.xml file and let me know if you are still having problems (attach the config.xml to this thread) Hope this helps. Rob
That's fixed it, Many Thanks..