Hi All,
I have a problem in refreshing a Form based on SetTime()
In the Page i have many Form ,Form as to be Refresh
How to refresh a Form so that , no chages should be made to other forms
with regards,
red
Form Refresh
Moderator: General Moderators
ambiguous thread
Jenk wrote:What an utterly ambiguous thread
What an utterly ambiguous thread
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Form Refreshing
Hi,
I am coding in html and PHP.
In Html page there is a form containing Text Area and a input text ,where input data into database through input text.
In same form I am retriving Data from database into text area, where this text Area should be refreshing based on set Time.Because any other Login User can simultaneously enter the Data on other side.
I have only idea in refreshing Page..I am Struggling to refresh a Text area.
Please anyone can Solve my Problem.How Exactly i can do this.
Thanks in Advance.
Regards Red.
I am coding in html and PHP.
In Html page there is a form containing Text Area and a input text ,where input data into database through input text.
In same form I am retriving Data from database into text area, where this text Area should be refreshing based on set Time.Because any other Login User can simultaneously enter the Data on other side.
I have only idea in refreshing Page..I am Struggling to refresh a Text area.
Thanks in Advance.
Regards Red.
An ajax function with a setTimeout() javascript function (to poll the server at regular intervals) should update the textarea with the current content.
EDIT| I wouldn't consider this the best solution. Perhaps you could use some sort of blocking or locking function to limit this form to 1 person editing it at a time. (is it an administrative type form?)
EDIT| I wouldn't consider this the best solution. Perhaps you could use some sort of blocking or locking function to limit this form to 1 person editing it at a time. (is it an administrative type form?)
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
scottayy wrote:An ajax function with a setTimeout() javascript function (to poll the server at regular intervals) should update the textarea with the current content.
EDIT| I wouldn't consider this the best solution. Perhaps you could use some sort of blocking or locking function to limit this form to 1 person editing it at a time. (is it an administrative type form?)
Its Like a chatting OnLine.
I am getting data on Submit ,But I want to refresh when enduser as been entered Data
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA