I have a button that clears the image in the Phonegap application. When clicked, it executes the following code:
document.getElementById('image').src='';
It works on my phones, but it does not work on tablets. I do not know why. On all iPad and Android tablets, the image remains there, but it works when it is on Android phones and iPhone.
Edit
$('#image').attr('src','');
source
share