K
keys4worship
I have a datagrid that contains among other things an SSN and a button.
I have added an onclick attribute to the button that works with
vbscript to query information on 3270 Pcomm emulator. The vbscript uses
something like document.form.txtSsn.Value to grab the SSN. When the
button on the datagrid is clicked the SSN is placed in the hidden
texbox for use with the vbscript. My problem is that the button is used
to place the SSN in the textbox AND to trigger the Pcomm automation. As
a result the query is always one click behind.
The initial click SSN is blank because the function is triggered before
the texbox is updated. What is the best solution to this problem?
Thanks
I have added an onclick attribute to the button that works with
vbscript to query information on 3270 Pcomm emulator. The vbscript uses
something like document.form.txtSsn.Value to grab the SSN. When the
button on the datagrid is clicked the SSN is placed in the hidden
texbox for use with the vbscript. My problem is that the button is used
to place the SSN in the textbox AND to trigger the Pcomm automation. As
a result the query is always one click behind.
The initial click SSN is blank because the function is triggered before
the texbox is updated. What is the best solution to this problem?
Thanks