You need to sign in to do that
Don't have an account?
rahul2526
Auto refresh a textArea control after a specified interval of time
Hello all....
I am trying to create a web messenger using Visualforce page and apex controller class...
I am using ajax to refresh my textArea control...how can i achieve that thing..
As to refresh basically I'll use
<apex:inputTextArea id="msg" value="{!getMessage}" >
<apex:actionSupport onevent=""/>
</apex:inputTextArea>
What should be this onevent attribute value so that my control gets refreshed after 5 seconds.
OR
if you have some other idea please help me out!!!
Thanks!!!
ActionSupport allows you to add support for JavaScript events associated with the control, rather than timed processing.
You probably want to use actionPoller, which executes an AJAX update according to an interval that you set.
The VF developer's guide has an example on page 168 (winter 10 version).
All Answers
ActionSupport allows you to add support for JavaScript events associated with the control, rather than timed processing.
You probably want to use actionPoller, which executes an AJAX update according to an interval that you set.
The VF developer's guide has an example on page 168 (winter 10 version).
Thank you Bob!!!!
:smileyhappy: