aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Need help regarding text fields 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 » Engineering » HTML, CSS and JavaScript
Bookmark "Need help regarding text fields" Watch "Need help regarding text fields" New topic
Author

Need help regarding text fields

baradhwaj chandramouli
Greenhorn

Joined: Oct 23, 2009
Posts: 3
Hi all,

Need help inTextfields.. Am a newbie in JSP!


I am having two text fields in my page..
My req is this :

If i type some value in the first one the next one should automatically display 12.
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

without page refresh ? if yes use ajax . so far, what you are tried?
swapnl patil
Ranch Hand

Joined: Aug 13, 2007
Posts: 80
Try this using Java Script
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61420
    
  67

JSP cannot help you. This needs to be done with JavaScript.

This topic has been moved to the appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
No need for Ajax. Seems like that is the buzz word to use for basic 101 JavaScript.

use onkeypress or onchange

set the textbox's value to be 12

Eric

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help regarding text fields