> For the complete documentation index, see [llms.txt](https://docs.jetadmin.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jetadmin.io/classic-app-builder/actions-and-logic/javascript.md).

# Javascript

Use JavaScript to interact with the UI Components, APIs, and Database Queries during this process of building applications.

In this guide, we’ll be looking at some of the basic operations with JavaScript to help us understand how easy and fun building apps on Jet Admin:

* Using Javascript for Computed Columns and Binding Data
* Creating Custom Components using Javascript and HTML/CSS
* Data Transformation&#x20;

If you are new to Javascript, the following courses help you to fill the gap:

* Codecademy—[Learn JavaScript](https://www.codecademy.com/learn/introduction-to-javascript) (Full curriculum)
* learn-js—[Learn JavaScript](https://www.learn-js.org/) (Simple docs)

Computed Column example:

In this example, JavaScript is used to do a simple calculation: divide one column value by another.

<figure><img src="https://3448227606-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LQ08RFAKZvFADEiXKFy%2Fuploads%2F1nTq44Tf0mAPyqyeDUo9%2FUntitled%20(7).gif?alt=media&amp;token=e9b78eff-4276-4924-a096-d30e7ffb9d49" alt=""><figcaption></figcaption></figure>

Custom component example:

{% embed url="<https://www.loom.com/share/db78518bf2d04c389af64ac477e8045b>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.jetadmin.io/classic-app-builder/actions-and-logic/javascript.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
