Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > JavaScript API > AJAX helper object > Methods

JavaScript API: AJAX helper object > removeMessage()

Scroll Prev Next More


The removeMessage() method removes the previously set message next to the button.




No arguments.

Return value

No return value.


Let's say you have added a Custom button that creates a PDF file and saves it in the output folder of the project. The file opens after it is downloaded, and you have displayed a message that says so.


Now you want to remove the message as the file has already been opened. Add the following code to the Client After event:



See also:

JavaScript API: AJAX helper object > setMessage()

Tri-part events

How to create a PDF file and save it to the output folder

Dialog API


JavaScript API: AJAX helper object

About JavaScript API