I have a UWP app using Webview control. The source for the webview is a url for a asp.net web application running on localhost. The url has javascript functions written in it. My question is how can i call javascript function written in web application from the uwp webview control.
<Page
x:Class="signalRonRPi3.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:signalRonRPi3"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<StackPanel>
<Button x:Name="callJS" HorizontalAlignment="Stretch" Margin="0,0,298,0" Click="callJS_Click" >Call JS</Button>
<WebView x:Name="webViewUrl" Source="http://localhost:52527/Home/Image" Height="500" Width="500" Margin="50" />
</StackPanel>
How do i call a javascript function written in the source url from here?