Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

This function returns a reference to the object with the specified id within a specified window.  5250 pop-up windows are rendered by Genie as div containers and assigned id's of "window1" for the first window on the screen, "window2" for the second window on the screen, etc.

Parameters:

  • element id - the id used to look for the object
  • window object - the container div object of the window

Example:

var win = getObj("window1");  // obtain reference to the first window if present
if (win != null) {
  var textbox = getWindowObj('I_5_10', win);  // obtain a reference to an element within the window
}
  • No labels