Adagio
5 years agoFrequent Contributor
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.addEventListener("122-123-2212", otherparamsifrequired);
Can someone please let me know if that can be done using the event listener?
Thanks in advance!!
-Al
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!