Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

171
Views
Can't return data from postgresql through Ajax Request in real device i.e. Android Phone

I'm using cordova 6.5. Here's my Javascript

function my()
{
  var modulecode = document.getElementById("ModuleCode");
//ll
 $.ajax({
    url:"http://192.168.x.xxx/testconn.php",
    method:"POST",
    dataType:"json",
    cache:false,
    data:{ModuleCode:modulecode.value},
    success: function(html){

                  var DOM =jQuery("#DOM");
                   DOM.empty();
                   jQuery.each(html,function(key,value){
                   DOM.append("<li>" + value.Module_Name + "</li>")

       });

    },

    error: function(e){
        alert("Error : " + e.message);
    }
        });
    }

When I put error.code in the error callback it returns some scripted minified form Javascript but this return "undefined"

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!