Developer Function: Script: $p.events.on_calendar_load
## Overview
This explains how to specify a method to be executed when the "「Calendar」" is loaded or when the displayed content is changed by a filter, etc.
## Syntax
When setting up a script, make sure to check "Calendar" for "Output destination."
##### JavaScript
```
$p.events.on_calendar_load = function () {
//Processing content
}
```
## Usage Example
If you set the following sample code to Pleasanter script, a message will be displayed at the bottom of the screen when the calendar screen is loaded.
##### JavaScript
```
$p.events.on_calendar_load = function () {
$p.setMessage('#Message', JSON.stringify({
Css: 'alert-success',
Text: 'The calendar screen has loaded.'
})
);
}
```
## Related Information
<div id="ManualList">
<article class="s-blog_list_unit"><h2>
<h2>The specified information was not found.</h2>
<p><a href="/ja/manual">Return to top</a></p>
</article>
</div><input id="SearchTextHidden" type="hidden" value="" />