File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Capturing values in textbox 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 "Capturing values in textbox" Watch "Capturing values in textbox" New topic
Author

Capturing values in textbox

saravanan ks
Greenhorn

Joined: Jul 10, 2003
Posts: 9
Hi friends,
I'm using two textboxes called username and password.
First i'm entering username and submitting , it will popup an alert message
to enter the password. At the moment i click ok to give password, username becoming blank.
How to hold the username value in the text box.
Please help
-Saravanan
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
The textbox value will stay by default, unless you are clearing it. Probably you are clearing the text in the textbox when the alert button is pressed.
If you can paste the code here, it might give a clue.


Mani
Quaerendo Invenietis
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
now is this alert code being generated on client side or on server side?
baically if you show the code it might be easier to help you out..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Capturing values in textbox