johnny
johnny

Reputation: 19755

Can I have PHP send data to a PhoneGap app using Jquery Ajax?

Can I use jquery ajax and call server side php files, return json from those php files, and update controls on the presentation layer of the ios app that I created using phonegap?

I know that a long sentence.

Example,

Thanks.

Upvotes: 1

Views: 986

Answers (1)

camilo_u
camilo_u

Reputation: 1380

Yes you can, basically you can make it look like a normal webpage, so you will need to make the Ajax call and then use some something to do the DOM manipulation task.

Take a look at this example using jQuery Mobile:

http://wiki.phonegap.com/w/page/36868306/UI%20Development%20using%20jQueryMobile

Upvotes: 2

Related Questions