I have a javascript function that I want to call whenever I do a page rerender using an apex:actionPoller. How can I best do this?

1 Answer 1


If you want to call the JavaScript after the re-render use the oncomplete attribute of apex:actionPoller to make the function call:

The JavaScript invoked when the result of an AJAX update request completes on the client.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .