RunJavaScript(String) Method
Runs the specified JavaScript code in the page's context and returns the result.

C# Syntax

string RunJavaScript( 
   string scriptToRun
)

Parameters

scriptToRun
The JavaScript code to run.

Return Value

The JavaScript code to run.