title: WebView.Eval not call javascript function inside my HTML - Xamarin Forms
body: <p>I'm trying to use the Eval function of the WebView control to run a javascript function into my WebView. The WebView loaded correctly my HTML with the Javascript function, but when I use WebView.Eval(javascript_function), nothing happens and the function is not called.
  Here my CS code:</p>
  
  <pre><code>var _Script = string.Format("enableBeacon(\"{0}\") ", id);
          _WebViewMap.Eval(_Script);
  </code></pre>
  
  <p>Here my Xaml:</p>
  
  <pre><code>&lt;StackLayout VerticalOptions="Center" HorizontalOptions="Center"&gt;
  &lt;WebView x:Name="WebViewMap" WidthRequest="1000" HeightRequest="1000" Source="{Binding HtmlSource.HtmlUrlSource}"/&gt; 
  &lt;/StackLayout&gt;
  </code></pre>
  
  <p>Here my Javascript function:</p>
  
  <pre><code>function enableBeacon(id)
  {
   var myBeacon = document.getElementById(id);
   myBeacon.style.display = "";
  alert("I am an alert box!");
  }
  </code></pre>
  
  <p>Thanks in advance</p>