Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Shrikumar Vadivelu
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are planning on performing a database update based upon a person merely leaving a field?

Think about that one for a bit.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic