Jump to content

Need Help with IE input Submit


Recommended Posts

$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>
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...