Click here to Skip to main content
12,896,517 members (59,211 online)
Rate this:
Please Sign up or sign in to vote.
See more: Mobile jQuery
Dear Friends,

I am creating a mobile application using jQuery Mobile.
Kindly suggest how to connect the DB and retrieve the records and display.
I am new to this. kindly suggest.
Posted 4-Aug-12 18:29pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I see nothing on the jquery mobile site about DB access. Your first hurdle is a DB platform that your phone can use. Of course, as it's jQuery, I bet you can make AJAX calls to a server that houses your DB, I bet that's what people are generally doing.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Since you want to connect to database, you need to interact server side from client side. You need to use jQuery Ajax for that.
Here, have a look:[^][^][^]


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 5 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100