What do I have to change to run a normal Ajax in PhoneGap?

I want to make an Ajax request in a PhoneGap application. I tried it with my normal website code which runs perfectly fine but in PhoneGap nothing happened when I pressed the button which should start the Ajax. Does anyone know what i have to change on the code or other settings in PhoneGap?

This is my Ajax code:

$.ajax({
      type: "POST",
      url: "https://qurusre.de/Marksutus.N.php",
      data: {nummer: nummer,status: status,IdSchueler:IdSchueler,},
      success: function(data) {}
})

Answers:

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us Javascript

©2020 All rights reserved.