PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Javascript in HTML Area - inconsistent behaviour

edited Feb 10, 2021 10:08AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 3 commentsAnswered

I am looking to update some functionality that uses custom Javascript in an html area and am seeing unexpected results in both Classic and Fluid (we are on PT8.58.07) as to when the HTML area is refreshed and therefore when my custom Javascript is run. This can be be recreated as follows:

Test 1

  • Add an HTML area to a classic page that contains a field that does not have deferred processing enabled
  • Set the value to Constant and enter the following:
<script>
  alert('Hello World');
</script>
  • Leave Respond Only Once unticked

Result: My alert displays when I first enter the page and any time there is a server round trip (eg on field change or button click). This is as expected

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center