title: New window with content from modal content on opener page
body: <p>i think i am not going about this quite right, being very new to jquery.
  i have a page with 3 recipes on it hidden. when a link to  recipe A is clicked it opens in a modal. i want to be able to print just the content of the recipe. so i am opening a new window (nonmodal) and trying to write the recipe to it (depending on which recipe is chosen)</p>
  
  <p>this is the code i am using</p>
  
  <pre><code>     $('a.new-window').click(function(){
  
      var recipe =  window.open('','RecipeWindow','width=600,height=600');
       $('#recipe1').clone().appendTo('#myprintrecipe');
      var html = "&lt;html&gt;&lt;head&gt;&lt;title&gt;Print Your Recipe&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;div id="myprintrecipe"&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;";
  recipe.document.open();
  recipe.document.write(html);
  recipe.document.close();
  
        return false;
  
       });
  </code></pre>
  
  <p>but it returns an error. i think it is close but not quite right. the error is:
  missing ; before statement
  [Break on this error] var html = "Print...="myprintrecipe">";\n</p>