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?