# Java Script

Include JavaScript in your application to do custom coding that extends the capabilities of your solutions.

For help on JavaScript, try this [tutorial](https://www.w3schools.com/js/) or this [reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference).

***

{% embed url="<https://www.youtube.com/embed/aj14s6s83Ac?autoplay=1&rel=0&vq=1080>" %}
*Add a JavaScript action*
{% endembed %}

***

### Properties

1. **Code**

   The JavaScript code that will be executed.

   The Code Editor allows you to:

   * easily use code variables and values from existing controls, SQL queries, web service responses and script values within your JavaScript code
   * validate your code's syntax


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stadium.software/actions/javascript.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
