Travel though all <img /> and replace .png with .svg
<p>How can I, in javascript or jquery, travel through each of the <code>&lt;img /&gt;</code> tag in a page, check if it is a .png extension, replace the .png extension, if it is a .png extension, with .svg?</p>
