title: Javascript error: "missing ) after argument list"
body: <p>I am getting the error <code>missing ) after argument list</code> in my Firebug console.</p>
  
  <p>I can't understand why. The problem is with the text that is passed in as an argument to the before() method. I am pretty sure it's something to do with the quotation marks. I have tried doing <code>\"</code> and <code>\'</code> instead of <code>'</code> but neither was successful, they gave different errors.</p>
  
  <p>As long as I can add the HTML that is within the before() method I don't mind how I solve this.</p>
  
  <pre><code>$(document).ready( 
          function () {
          $("#add").click( 
               function () {
               $("#add").before("&lt;s:text name='queries[0].property' class='small-text' size='28'/&gt;&lt;span class='small-text'&gt; = &lt;/span&gt;");
  
          });
      });
  </code></pre>