function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
asadimasadim 

actionPoller to invoke immediately?

Hi,

 

On my page I have an actionPoller with interval = 5 and onsubmit = "{someJS();}". The problem is that this guy calls the JavaScript code (someJS) a few seconds after the page has loaded -and I'm wondering if it can be done with no delay. Any ideas?

 

Thanks!

Message Edited by asadim on 12-22-2009 12:25 PM
ApexGuyApexGuy

With actionPoller, the retry interval is a minimum of 5 seconds. Immediately would defeat the purpose.

 

Why not also call the javascript function with an onload javascript call? That would be immediate.