GetPrompt Method
The GetPrompt method returns a string that includes the prompt text that Siebel Open UI displays with a control. It uses the following syntax:
GetPrompt()
It includes no arguments.
The following example includes the GetPrompt method:
// Alert the user when he lands in the control
if (document.getActiveElement === control.GetInputName(){
alert (SiebelApp.S_App.LookupStringCache(control.GetPrompt()));
}