On 7 Mar 2011, at 2:49am, Matt Young wrote:

> Trying to understand it.  How do I specifically open sqlite from a jquery
> widget.
> Or best simple example.

jquery is just a JavaScript library.  JavaScript can't open a file on your hard 
disk.  Because if JavaScript could open a file on your hard disk, anyone who 
wrote a web site you visited could grab a copy of one of your files.

However, HTML5 does have facilities in for using SQL:

http://www.w3.org/TR/webdatabase/

and as it turns out, everyone who implemented this implemented it by building 
SQLite into their JavaScript engine.  It just uses private databases rather 
than allowing you to specify a directory path.

Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to