My Oracle Support Banner

Javascript Method Setup to Run in a Button Gets Invoked on Page Load (Doc ID 2296165.1)

Last updated on AUGUST 11, 2017

Applies to:

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


The javascript code intended to enlarge the font in an ADF page is getting executed on page load, despite it is setup as an "onclick" event in a button.

The expected behavior would be to get the method invoked only in the configured event.

The issue can be reproduced at will running the test application provided. When the page is rendered, the font is already enlarged meaning the code has already been executed.


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.