aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Previous Text Fileld Value has to be Passed while curser is on currect text field. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Previous Text Fileld Value has to be Passed while curser is on currect text field." Watch "Previous Text Fileld Value has to be Passed while curser is on currect text field." New topic
Author

Previous Text Fileld Value has to be Passed while curser is on currect text field.

Shrikumar Vadivelu
Greenhorn

Joined: Sep 14, 2005
Posts: 14
I have 2 text fields. In the first text field i m entering 100. After pressing TAB button my Cursor comes to 2nd Text Field. In this case, First Text Filed Value 100 should be updated into database. Samething for others Text fields. Previos Text filed value has to be updated. How can i do this in Java Script?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If you want it to be passed to the database from the client you either need to do a post back to the server or use Ajax.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61652
    
  67

You are planning on performing a database update based upon a person merely leaving a field?

Think about that one for a bit.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Previous Text Fileld Value has to be Passed while curser is on currect text field.