title: Use JavaScript to stripslashes ? possible
body: <p>I'm using ajax to grab a URL. The problem is the URL has slashes in it and when the JQuery load takes place afterwords it will not load the page.</p>
  
  <p>AJAX success bit:</p>
  
  <pre><code>success: function(data) {
   $('#OPTcontentpanel').load(data.OPTpermalink);
  </code></pre>
  
  <p>PHP </p>
  
  <pre><code>echo json_encode( array('OPTpermalink'=&gt;$OPTpermalink,));
  </code></pre>
  
  <p>AND the response</p>
  
  <pre><code>http:\/\/www.divethegap.com\/update\/options\/padi-open-water\/
  </code></pre>
  
  <p>So need to strip the slashes. I know how to do it in PHP but not in <del>AJAX</del> JavaScript.</p>
  
  <p>Any ideas?</p>
  
  <p>Marvellous</p>