i\'m trying to add picture on my server with jquery mobile and php on a cordova project for android.
When i select a picture from my librairie or i make a capture, the a
By luck, i've tried to change the html code, just in case, and here is the solution:
I just change this code:
<button onclick="capturePhoto();">Capture Photo</button>
to this:
<a href="" class="ui-btn" onclick="capturePhoto();">Capture Photo</a>
Don't use html buttons tag, use anchor tag... don't know why but this worked !!!