Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
0 out of 1 rated this helpful - Rate this topic

WebBrowser.InvokeScript Method (String)

May 02, 2013

Executes a scripting function defined in the currently loaded document.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
public Object InvokeScript(
	string scriptName
)

Parameters

scriptName
Type: System.String
The scripting function to execute.

Return Value

Type: System.Object
Returns String.
The value returned by the scripting function.

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.

Windows Phone OS

Supported in: 8.0, 7.1, 7.0

Windows Phone

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.