This shows you examples of using JavaScript to create, insert, select, and delete data in a Web SQL database in a web browser. (code samples linked below--use view source on pages)
I have created separate html pages that each demonstrate the JavaScript and SQL code for doing something with a database table. One page creates a table, one page inserts data into that table, one page selects data from that table, and one page deletes data from that table. Each of these pages assumes that I am working with a table called customer.
1 Create Table:
https://www.dropbox.com/s/4w5x6yejq70...
2 Insert Row:
https://www.dropbox.com/s/qhju8t8cs1x...
3 Select Data:
https://www.dropbox.com/s/vggwup78wl7...
4 Delete Row
https://www.dropbox.com/s/cu75fh9wsko...
На этой странице сайта вы можете посмотреть видео онлайн Web SQL Database Mini Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Degan Kettles 15 Май 2014, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 13,095 раз и оно понравилось 37 зрителям. Приятного просмотра!