Urgent

  • Thread starter Thread starter Sunil
  • Start date Start date
S

Sunil

I have two textboxes both are normal textboxes. In first textbox(html
servercontrol) I displayed text as user name and in second
textbox(webserver control) I have displayed text as password. When I
click on username text box then the TextBoxMode of second textbox
should be changed to password mode i.e it should now display ******.

Can any one suggest me how to do that.

Regards,

Sunil
 
Sunil said:
I have two textboxes both are normal textboxes. In first textbox(html
servercontrol) I displayed text as user name and in second
textbox(webserver control) I have displayed text as password. When I
click on username text box then the TextBoxMode of second textbox
should be changed to password mode i.e it should now display ******.

Can any one suggest me how to do that.

Regards,

Sunil
Change TextMode to Password?
 
No after I click on first textbox then second textbox textmode should
be changed automatically
 
You need to explain your requirements better.

Do you want your password textbox showing the password until you click
 
Yes, You got the point. It should show "Password" until user clicks on
user name textbox.

Regards,

Sunil
 
You'll have to place a javascript function on the onclick() method of
the textbox to change the type of the password textbox to "password"
 
No, the username password would need the attribute set and change the
javascript to set the password's type.
 
Can you give me code.

Thanks,

Sunil

Ray said:
You'll have to place a javascript function on the onclick() method of
the textbox to change the type of the password textbox to "password"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top