Javascript File path fix
<p>How do i convert the string;</p>

<pre><code>var s='uploads\product\picture\20Duleek_Lime_Green1.jpg';
</code></pre>

<p>into</p>

<pre><code>'uploads/product/picture/20Duleek_Lime_Green1.jpg';
</code></pre>

<p>The standard javascript function replace doesnt seem to work.</p>

<pre><code>var s='uploads\product\picture\20Duleek_Lime_Green1.jpg';

strReplace = s.replace('\\', '//');

alert(strReplace);
</code></pre>
