Java Script (PXJavaScript)
The PXJavaScript element is designed to keep JavaScript code in an ASPX page.
A PXJavaScript control can be immediately added to the following types of
containers:
- PXFormView
- RowTeplate
- PXTabItem
- PXSmartPanel
- PXPanel
To create a JavaScript control in a container, follow the instructions described in To Add Another Supported Control.
To delete a JavaScript control from a container, follow the instructions described in To Delete a Child UI Element.
For a detailed example of using a JavaScript control, see How do I play a sound in response to a custom action or button in Acumatica?.