Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

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.

...

Code Block
javascript
javascript

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
}

...