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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keep value in textfield

Status
Not open for further replies.

paradis222

Programmer
Oct 20, 2002
12
0
0
HK
I have 2 textfield in a form. If i enter a value in textfield 1 , relative value will be shown in textfield 2 from database. But the value in textfield 1 will lost. how can i keep the value in textfield 1?

Thanks

 
Use Javascript to wrie a cookie to the machine before the page refreshes. Then read the value back into the field after the database lookup.
 
But can u give me some idea how can i do that? thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top