JSFiddle - React, Tailwind, and code Playground
by VitaliyAT
HTML
<div id=My>
<img src="/i/blank.gif"/>
<img src="./i/blank.gif"/>
<img src="../i/blank.gif"/>
<img src="http://lookatcode.com/i/blank.gif">
</div>
JavaScript
var N_Zmen=0;
$('img[src^="../"],img[src^="./"],img[src^="/"]').each(function (i){
this.src = this.src;
N_Zmen++;
});
alert( N_Zmen+'\n'+$("#My").html())