I have created a registration form using HTML, which needs to send data to an external URL. This code is written in jQueryMobile, need to submit to a PHP file (that will insert data in a mySQL database). I need a fully working AJAX submission that works with latest version of PhoneGap.
The step is as follows:
- User fill out a form
- User click on SUBMIT button, data will be sent to external PHP file that process data.
- If data is stored properly, get a notification back to user (message or a new page)
- If problem with storing data or connection problem, display a message to the user
This must work on with a compiled APP with PhoneGap for Android and IOS. Need also some help with adding settings for white-list the domain in PhoneGap manifest file, and enabling Cross-domain requests.