Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto Update of Textfield

Status
Not open for further replies.

Lotruth

Programmer
Joined
May 2, 2001
Messages
133
Location
US
I am using Cold Fusion 4.0 I need a way, using Javascript, to cause a textarea or text field to update the database whenever the keyup event occurs so that the data being entered into the field is being entered into the database simultaneously. Is it possible to have cold fusion tags within a javascript function like <onkeyup=&quot;<cfupdate datasource=&quot;DS&quot; tablename=&quot;T&quot;>&quot;;>?
 
The only way to do that is to continuously submit a page. But even if you could, every keystroke is a heavy strain on a DB and a server. - tleish
 
How could I update the database every minute instead?
This will put less strain on the server, but still creates an automatic backup of the textarea every minute.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top