User Manual

08.14.2024

MANUAL

Developer Function: Script: $p.events.after_set

The Japanese version of the manual is the latest.
Please also check.
## Overview This explains how to specify the method to be executed after sending data to the server and updating the screen contents. ## Syntax ##### JavaScript ``` $p.events.after_set = function (args) { //Processing content } or $p.events.after_set_{Value of the data-action attribute} = function (args) { //Processing content } ``` *Get this if you want to explicitly write the value of the data-action attribute of the button that will cause the event. ## Usage Example Set the following sample code in the Pleasanter script, set the output destination to "Edit", and then press the "Update" button (in this example, the value of the data-action attribute, Update, is explicitly stated). ##### JavaScript ``` $p.events.after_set_Update = function () { $p.setMessage('#Message', JSON.stringify({ Css: 'alert-success', Text: 'After the screen is updated.' })); } ``` ## Related Information [FAQ:$p.events.on_editor_loadを複数設定できるようにしたい](faq-multiple-on-editor-load)
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.