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

Capturing values in textbox

 
saravanan ks
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic