Published: 2/19/2026 JavaScript Notes APEX JavaScript JavaScript Notes # apex.message.showPageSuccess('Action Processed.'); window.setTimeout(function () { apex.navigation.dialog.close(true) }, 1500); #$x_Hide("<BUTTON>" or "<REGION>"); $x_Show("<BUTTON>" or "<REGION>");#apex.item( "<BUTTON>" or "<REGION>" ).disable(); apex.item( "<BUTTON>" or "<REGION>" ).enable();#apex.region("<STATIC_ID>").refresh();#apex.message.clearErrors();#apex.message.hidePageSuccess();#apex.message.showPageSuccess( "Changes saved!" ); apex.message.showPageSuccess( "Row Updated." );#apex.page.confirm('Delete ...', 'DELETE'); or apex.confirm('Delete ...', 'DELETE'); apex.message.confirm( "Are you sure?", function( okPressed ) { if( okPressed ) { apex.server.process("MYPROCESS"); } });#apex.item('pFlowId').getValue() // APP_ID apex.item('pFlowStepId').getValue() // APP_PAGE_ID apex.item('pInstance').getValue() // APP_SESSION document.getElementById('pFlowId').value; // APP_ID document.getElementById('pFlowStepId').value; // APP_PAGE_ID document.getElementById('pInstance').value; // APP_SESSION#apex.env.APP_ID