Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

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.
 
Share this answer
 
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!
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900