# javascript

Source: https://zotonic.com/docs/1371/javascript

URI: https://zotonic.com/id/1371

Language: en



Adds javascript that will be run after jQuery has been initialized. In dynamic content it will run after the DOM has been updated with the template where the javascript was defined.

Example:

```erlang
{% javascript %}
  ...
{% endjavascript %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1371?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1371?language=en>)
