I've created a popup dialog for an Adobe Acrobat e-form. Once the dialog pops up I want to grey out a list box and when an entry in another list box is selected I want to update a 2nd list box. My question is how do I get a handle on the list box elements in the dialog? Do I use something like this.getElement or this.resolveNode or dialog.getElement? The documentation doesn't go very far on how to use Javascript to gain access to a dynamically created dialog.
I tried a bunch of different things but everything seemed to return NULL.
eg.
In the dialog initialize method:
var listbox1Element=this.getElement("listbox1");
var listbox1Element=this.resolveNode("listbox1");
var listbox1Element=dialog.getElement("listbox1");
var listbox1Element=dialog.resolveNode("listbox1");