WebBrowser.InvokeScript Method (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Executes a scripting function defined in the currently loaded document.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Parameters
- scriptName
- Type: System.String
The scripting function to execute.
Script is turned off in the WebBrowser control by default. Set the IsScriptEnabled property to true if you want to enable scripting in your control.
Show: