Cordova check if file in url exists
<p>I am using cordova / phonegap and need to know if a file exists</p>

<p>Here's the code with the path and filename:</p>

<pre><code>storeUrl = cordova.file.dataDirectory+'myfolder/myfile.mp3';
</code></pre>

<p>How can I check if this file exists?</p>