Here\'s my problem: I have a form in index.html, it will have a text input, and the value will be $.post to a php page that should process it and will return a value. My cod
A few points:
1. Add the remote server to the whitelist...if you are using blackberry ou must edit the config.xml file, if is a ios app, you must change the plist file of the project.
EDIT 2011-11-03: In Android: Make sure this line is in phonegap app manifest file: < uses-permission android:name="android.permission.INTERNET">
2. Try adding this header to the php file header('Access-Control-Allow-Origin: *');
EDIT 2011-11-03: this header must be included on the beginning of the PHP file.
Good Luck!