title: how to send string parameter to javascript function
body: <p>I'm trying to pass string value to javascript function but it shows syntax error.my code is below </p>
  
  <pre><code>product_row +='&lt;td&gt;&lt;input type="text" name="edit_product_type" 
  id="edit_product_type_'+this.id_sale_order+'" value="'+this.product_type+'" 
  onblur="updateProduct(\'' + this.id_sale_order + '\','edit');" rel="edit" /&gt;';
  </code></pre>
  
  <p>Error </p>
  
  <pre><code>SyntaxError: missing ; before statement
  ..." onblur="updateProduct(\'' + this.id_sale_order + '\','edit');" rel="edit" /&gt;'
  </code></pre>