Link to home
Start Free TrialLog in
Avatar of mmpd

asked on

How to make an ajax call using jQuery Mobile

Hello and thank you for helping me.

I am developing a jQuery Mobile application that needs to make an ajax call to an OData service.  I am stumped on how to do this. has made a public OData service available for testing.  The uri is:

Using LinqPad I can successfully connect to this service and I get the following results back:
Food, Beverages and Electronics.

Will you please provide a short snippet of code using jQuery Mobile, the jQuery Mobile apis and ajax that will demonstrate how to make this call and return the results?

Thank you very much
Avatar of Kyle Hamilton
Kyle Hamilton
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Here is the result of the above code:
You could also look into $.mobile.changePage, which will enable jquery mobile transitions if you want, but you'll still probably need the php 'cause of the same domain restriction.
Avatar of mmpd


Thank you very much.