title: how to pass an html page to a jquery function?
body: <p>I want to pass one html page to a jquery function. My html page is like this</p>
  
  <pre>
  
  var string="
      &lt;html>
       &lt;body>
          &lt;p class='myclass' >some content comees hre&lt;/p>
          &lt;p>&lt;img src='localhost/images/img1.jpg' border='0' width='100' height='100' >&lt;/p>
       &lt;/body>
      &lt;/html>";
  
  </pre>
  
  <p>I tried pass this string to a function like this</p>
  
  <p>var varfunc_call= &lt;a href="#" onclick="JQuery.myplugin.Myfunction('"+string+"')">Click&amp;lt/a></p>
  
  <p>I cannot change single quotes in my string. In function call area with out single quotes its calling function. But inside function definition string showing some errors. Also all single quotes are automatically changing to double quotes.</p>
  
  <p>How can I fix this issude. Please help me.</p>