Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8694787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T00:52:06+00:00 2026-06-13T00:52:06+00:00

I have a rails3 rest service and I am developing a phonegap app in

  • 0

I have a rails3 rest service and I am developing a phonegap app in which I can only use HTML5 and Jquery javascript.

I am not able to make a POST rest call with ajax jquery to my rail3 rest service because of the cross domain security.

How can I resolve it. If you can point me to the code for both client and server side I will really appreciate it

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T00:52:07+00:00Added an answer on June 13, 2026 at 12:52 am

    If your app is running from the file:// protocol then you can do a cross domain request. From the jQuery Mobile docs:

    Your ability to access cross-domain pages from within a Phone Gap
    jQuery Mobile application is controlled by two key things:
    $.support.cors and $.mobile.allowCrossDomainPages, and can also be
    influenced by the white list feature in later builds of PhoneGap.

    As well make sure you whitelist the server you are attempting to make the AJAX call to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Jersey REST service which has endpoints that can return either application/xml
So I'm finally starting to use rest in rails. I want to have a
I have a rails3 app that that has no environments/development.rb but runs just fine
I'm using 'rails3-jquery-autocomplete' gem, but it doesn't have multi column search, but there is
I am building a REST service as part of my rails app, and I'm
Im working with ruby 1.9.2, rails 3.2.1, and mysql, I have a rest app,
I have an android app as client and a rails REST webservice .Rails application
I have a Rails application with a public REST API which authenticates API clients
I have a rails app that references the TMY3 meteorological dataset , which is
I'm not getting REST with Ruby on Rails, and I'm hoping someone here can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.