Click here to Skip to main content
12,241,814 members (46,386 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 19:29pm
Rate this: bad
 
good
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.
  Permalink  
Rate this: bad
 
good
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:
http://api.jquery.com/jQuery.ajax/[^]
http://api.jquery.com/category/ajax/[^]
http://www.w3schools.com/jquery/jquery_ref_ajax.asp[^]

Try!
  Permalink  

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.160426.1 | Last Updated 5 Aug 2012
Copyright © CodeProject, 1999-2016
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