title: Execute javascript 'undefined' output but it work as expected
body: <p>I am trying to click a button from a website</p>
  
  <p>This is the code of that website</p>
  
  <pre><code>&lt;input name="Submit" type="submit" value="submit" class="buttons"&gt;
  </code></pre>
  
  <p>I use awesomium and c# to do this</p>
  
  <p>And below is my sample code</p>
  
  <pre><code>wb.ExecuteJavascriptWithResult(@"document.getElementsByName('Submit')[0].click();");
  </code></pre>
  
  <p>In my output log of Visual studio the result is 'undefined' but it click the button in the website and it generates output as expected. But i want to learn the reason of the error. But it doesn't give me any more error.</p>
  
  <p>In order to check if its an error of awesomium. I load the website in google chrome and executed the javascript in the console and the output is the same. it gives me <code>undefined</code> but it clicks the button and generate output.</p>
  
  <p>I don't have much knowledge of javascript. But how can i solve this kind of issue?</p>
  
  <p>Regards,
  Meco</p>