Solved

Need a tutorial for Javascript & Sqlite (Safari)

Posted on 2010-08-18
2
827 Views
Last Modified: 2012-05-10
Hi experts,

I'm working on a little web app which I intend to make mobile (targeting iPhone at first, Android later). It will be html files with javascript and sqlite. I've googled till I'm going insane but cannot find a good reliable tutorial that will show me how to achieve what I need.

It's simple really - I have a page: addresses.htm. I want to list dynamically on this page (as hyperlinks) a bunch of addresses (which can be added to), which are pulled from the sqlite db. If no sqlite db exists, it will be created with: address_id and address_text

The links will contain address_text and when clicked will show a panel with that address and option to delete (so I must grab the address_id).

It has to work in Safari, I don't care about the other browsers.

I have found a tutorial on Apple's website but it's overkill. I've seen one or two other tutorials which are hacks or incomplete.

Any advice would be great as I'm pulling my hair out!

Thanks

Jon
0
Comment
Question by:Jon Winterburn
2 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 33465645
0
 
LVL 11

Author Closing Comment

by:Jon Winterburn
ID: 33484819
Perfect, thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now