aspose file tools*
The moose likes JDBC and the fly likes Java Script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

Java Script

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 updted. How can i do this in Java Script?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30764
    
156

Shrikumar,
Welcome to JavaRanch!

You can't do this completely in JavaScript. You could use JavaScript to submit the form to the server. Then you would have to go to a servlet and do the JDBC to update the database. After that, you would repaint the page.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Makarand Parab
Ranch Hand

Joined: Dec 10, 2004
Posts: 121
Hi
Have you read about AJAX [Aysnchronous Javascript and XML]technology, that can help you out.

Regards
Makarand Parab
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Shrikumar, please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please continue any discussion of this topic in the HTML forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Script