Jquery - setting href via prop function - losing some forward slashes
<p>I pass a parameter of pFile into a function, which then builds an href and updates this via jquery.prop().  However, it's losing the additional // in the href.</p>

<pre><code>$("#ws1").val(pFile);
pFile='file:///'+pFile;
$("#ws2").val(pFile);
$("#wsFileId").prop("href",pFile);
$("#ws3").val($("#wsFileId").prop("href"));
</code></pre>

<p>ws1, ws2 and ws3 are 3 text fields to show the values at different stages.  They are being set to :</p>

<pre><code>//mypc/c/Inetpub/wwwroot/global.asa
file://///mypc/c/Inetpub/wwwroot/global.asa
file://mypc/c/Inetpub/wwwroot/global.asa
</code></pre>

<p>Do I need to do something to tell Jquery to pass the string as it is and not process forward slashes????</p>

<p>If I do this is javascript, it works OK (by this I mean it doesn't lose the extra //'s.</p>

<pre><code>        document.getElementById("wsFileId").href = pFile;   
</code></pre>
