I am trying to press enter key inside a textbox.
I am currently setting up value in the textbox using below code,
var ifrm = document.getElementById("IPage");
var txtValue = ifrm.contentWindow.document.getElementById("textboxid");
acc2.txtValue = "010";
Now, once this value is set inside textboxid , I want to press the enter key using JavaScript.
How can I achieve it?