# Javascript

- [Getting Started](https://developers.weglot.com/javascript/javascript.md): Get Started with Weglot library
- [Options](https://developers.weglot.com/javascript/options.md): This page describes options available for the Javascript integration.
- [Javascript functions](https://developers.weglot.com/javascript/javascript-functions.md): All functions you can call in your Javascript code
- [Language link Hooks](https://developers.weglot.com/javascript/link-hooks.md): Using Weglot links hooks to create your own language switcher
- [Translate iframe](https://developers.weglot.com/javascript/translate-iframe.md): You have an iframe in your page and you need to translate it.
- [Advanced concepts](https://developers.weglot.com/javascript/advanced-concepts.md)
- [Translation engines](https://developers.weglot.com/javascript/advanced-concepts/translation-engines.md): Advanced concepts


---

# 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://developers.weglot.com/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.
