Jump to content

Recommended Posts

Posted

$id = _IEGetObjById($oIE, "shipinpId")
$in = _IEFormElementSetValue($id, "test")
$oIE.Document.parentWindow.execScript("return submitInputOnFillorEnter('#{receivingBackingBean.validateASNScanAction}', this, event);")

I use controlsend in my current script but I want to change it. So I came up with the script but it doesn't do anything 

I already tried _IEformsubmit  and _IEaction But no luck.

 

Html code

<INPUT id=shipinpId onkeydown="return submitInputOnFillorEnter('#{receivingBackingBean.validateASNScanAction}', this, event);" maxLength=20 value=test name=shipinpId>
Posted

It's a company internal website.

After I input something in the inputbox, the cursor must stay in it and press enter key will submit the page. Basically im using "controlsend enter" right now but I read somewhere in the forum that i can use execscript. I tried as shown in my previous post but it is not responding. No console error.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...