My Oracle Support Banner

Cursor Focus Is Lost After Executing Web.JavaScript_Eval_Expr (Doc ID 1605428.1)

Last updated on APRIL 02, 2019

Applies to:

Oracle Forms - Version and later
Information in this document applies to any platform.


After web.javascript_eval_expr has been executed,  the focus from within Forms is lost. An example of the code is as follows.

web.javascript_eval_expr('document.title = "'||:block3.title||'"');


This issue only occurs in non Internet Explorer browsers such as Chrome or FireFox. Furthermore, if the same code was executed in a navigational trigger (eg WHEN-NEW-FORM-INSTANCE) the focus remains. 


It was reported by another customer that only a subset (approx. 30%)  of end users were hitting an issue like this. Furthermore, it was reproducing in IE. Ultimately, this customer implemented the solution given in this document to resolve the issue.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.