Jump to content
Sign in to follow this  
brrry

Need Help with IE input Submit

Recommended Posts

brrry

$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>

Share this post


Link to post
Share on other sites
Danp2

More info would greatly increase the chance of you getting a response. :thumbsup:

Please describe in detail what isn't working as expected. Can you provide a short reproducer script that we could run?

Share this post


Link to post
Share on other sites
brrry

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.

Share this post


Link to post
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
Sign in to follow this  

×