Answer the question
In order to leave comments, you need to log in
How to contact the server via HTML?
I am developing a mobile application in html. I built it via build.phonegap.com . The design of the pages was filled with test data that are fixed in the page code, and are edited only from there. I also need to dynamically pull out information from the database, and display it on the page. To do this, you need to respectively contact the server, and, upon request, pull out information. How to make this call to the server? Unfortunately, Cordova requires the main file to be .html. If it was possible to use php, then there would be no problems.
Answer the question
In order to leave comments, you need to log in
I think jquery and its ajax submit function will help you. Well, or native js www.w3schools.com/ajax
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question