getObj( id )
This function returns a reference to the object with the specified id on the screen.
This function call is equivalent to the native JavaScript syntax:
document.getElementById(id);
Parameters:
id – element identifier – String;
Example:
A reference to a textbox object on the screen can be returned by writing this line of code:
var textbox = getObj('I_5_10');
After a reference is obtained, the object’s methods and property can be accessed through native JavaScript. For example:
textbox.style.backgroundColor = 'yellow'; // highlight textbox
textbox.value = ''; // clear textbox*
textbox.focus(); // place cursor within textbox
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!