Forum Discussion

Adagio's avatar
Adagio
Frequent Contributor
4 years ago
Solved

Use addEventListener for keyboard action

Hi,   I've to input some textvalue in a textbox using the addEventListner because other options are not working out. var txtbxq =  pgx.contentDocument.getElementById('cxqInput'); txtbxq.addEventL...
  • Adagio's avatar
    Adagio
    4 years ago

    I got that working using the following. This is what I was looking for.

    This was very easy, but the autocomplete feature never suggested any such property. 

    var txtbxq =  pgx.contentDocument.getElementById('cxqInput');
    txtbxq.value = ValForPhn;

     I'd still be curious to know what the addEventListener() could have done this such case. 

     

    Thank you!