Escape Characters in JavaScript Function for Double quote
<p>I have a web application where I am dynamically creating a url.  The url has a parameter and I must pass a double quote.  I have tried this all different ways but it is still not working.  Anybody have any ideas?</p>

<p>To create the URL:</p>

<pre><code>searchSurveyDetail.setSurveyFormURL(surveyDetail.getSurveyFormURL()+"#search="+ "\"" + searchValue + "\"");  
</code></pre>

<p>on the Page:</p>

<pre><code>onClick="window.open('${surveyDetail.surveyInstructionsURL}')"
</code></pre>

<p>The result:</p>

<pre><code>onClick="window.open('http://www.mytest.com/survey1.pdf#search="company"')"
</code></pre>
