title: HTML - Uncaught SyntaxError: Unexpected identifier
body: <p>I have two buttons next to each other Trying to pass two variables in a function when using "onclick"</p>
  
  <p>When I had one variable it works...I tried to add another and got the error.</p>
  
  <p>Guess Im doing it wrong....I hate character escaping :(?</p>
  
  <pre><code>var proceed = 'true';
  var reject = 'false';
  var file = '&lt;button id="submitButton" onclick="myController.warningsSubmit(\''value + '\',\'' + proceed + '\')" type="button"&gt;Submit&lt;/button&gt;&lt;button id="rejectButton" onclick="myController.warningsSubmit(\''value + '\',\'' + reject + '\')" type="button"&gt;Reject&lt;/button&gt;';
  
  
  warningsSubmit : function(value, flag){   
          //alert("submit button pressed: " + value);
          steal.dev.log("submit button pressed : " + value + " submit button Flag : " + flag);
      },
  </code></pre>