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

  • SEARCH
  • Home
  • 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 9322601
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T04:08:00+00:00 2026-06-19T04:08:00+00:00

Actually I want to a call an php url with jQuery mobile ajax call

  • 0

Actually I want to a call an php url with jQuery mobile ajax call in android phonegap. The possible outcomes of the url are

  1. if successs then — valid
  2. if fails the — Code:201

I am using this code but it is not working help me.

        var request = $.ajax({
            url : "http://URL.com/api/validate.php?user=myUser&password=myPassword",
            type : "GET"
        });

        request.done(function(msg) {
            $("#notification").text(request.val());
        });

        request.fail(function(jqXHR, textStatus) {
            alert("Request failed: " + textStatus);
        });
  • 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-19T04:08:01+00:00Added an answer on June 19, 2026 at 4:08 am

    Actually you can put those function in the ajax method

     $.ajax({
       url : "http://URL.com/api/validate.php?user=myUser&password=myPassword",
       type : "GET",
       success : function(data){/*yr code here*/},
       fail: function(){/*yr code here*/}
     });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I basically want each request to http://localhost/~lucamatteis/datadict/AccessionMainName to actually call http://localhost/~lucamatteis/datadict/index.php/AccessionMainName Here's my current
Actually I have some MVC3 Applications and I want to call this applications from
I actually want to generate random password using PHP uniqid() function $randomPassword = uniqid();
I want to call a soap web service written asp.net(C#).Actually,the web method takes one
I'm having some issues with a jQuery AJAX call. My code works fine when
I'm new to Javascript. The code for a jQuery-ajax-php-cooperation does strange things. It works
I am using RemoteObjects to call ZendAMF PHP from Flex/Flash Builder 4.6. I want
I have a script that calls a php page via jquery/ajax. The results would
I have an ajax call to a php script that goes into a database
What I actually want to do is to redirect writes in a certain memory

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.