# executeJavascript

The `executeJavascript` method runs JavaScript on a web page.

## Syntax

    executeJavascript( scriptSource )

## Arguments

Argument | Description
--- | ---
`scriptSource` | The JavaScript to run.

## Returns

(LuaJsonValue). Returns a LuaJsonValue object that contains the result.

## Example

    local ret = session:executeJavascript("document.location.hash")

_FT_HTML5_bannerTitle.htm