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

Last updated on OCTOBER 31, 2016

Applies to:

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

Symptoms

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.

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms