# Use JavaScript Component Outputs

You can specify **Outputs** to take from your JavaScript Component and use their values in other **Jet Admin** component&#x73;**.** For such cases, you should set **Outputs** inside your JavaScript Component by sending **CustomEvent** with **Output** name and its value in the **detail** field (Examples from GitHub include it already).

Then you can create **Output** set its name and use it for other components (for example set **Text Field** value to JavaScript Component **Output**).

![](/files/-MTtqE0XJq9vQlNYzv6j)

![](/files/-MTtqmZy52xy1vuRYNTU)


---

# 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.jetadmin.io/user-guide/design-and-structure/components/custom-component/use-javascript-component-outputs.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.
