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:



  • id – element identifier – String;


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: = 'yellow'; // highlight textbox textbox.value = ''; // clear textbox* textbox.focus(); // place cursor within textbox