title: Read Javascript variable from Web Browser control
body: <p>I am trying to read the value of a Javascript variable which is loaded and called from a WebBrowser control on my form.</p>
  
  <p>Example:</p>
  
  <p>index.html refers to a javascript called 'test.js'
  On test.js, several variables are created and populated.</p>
  
  <p>index.html then makes a call to this JS.</p>
  
  <p>Index.html is loaded and displayed into the WebBrowser control.</p>
  
  <p>I've found lots of help on how to call/invoke functions that reside in the web browser control. How how can I easily read a variable value?</p>