title: In HTML5 app, how to check if a file exists with javascript?
body: <p>I am developing a mobile app with HTML5, and I want to check if a file exists in the project structure(e.g. images/icon.png), I am new to H5 and javascript, I really need help.</p>
  
  <p>Thank you in advance.</p>