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?


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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.