WebBrowser.InvokeScript Method
Include Protected Members
Include Inherited Members
[ 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.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name | Description | |
---|---|---|
![]() |
InvokeScript(String) | Executes a scripting function defined in the currently loaded document. |
![]() |
InvokeScript(String, array<String>[]()[]) | Executes a scripting function defined in the currently loaded document, and passes the function an array of string parameters. |
Top
Remarks
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.