Select Page

Our XPages application provides a dynamically generated list of fields that are swapped out as the user navigates and/or saves their data.

We discovered that doing a partial refresh did not automatically move the user to the top of the next “page” so with a little Googling I found this bit of JavaScript that resolved the problem in short order.

Here is the code and the event handler we are using to do this:


<xp:eventHandler event=“onClientLoad” submit=“false”>