Click here to Skip to main content
16,005,734 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
:-D i am trying change asp text box mode in javascript please help me
if you find this ans please email me @ [Removed]
thankyou

[edit]Never post your email address in any forum, unless you really like spam! If anyone replies to you, you will receive an email (like this one) to let you know.[/edit]
Posted
Updated 29-Mar-10 8:26am
v2

1 solution

An asp textbox is just an input control. What else could it be, when it has to be HTML ? You need to use the ClientID property in your code to get the client side id for use in your javascript. Once you have that, you can use document.getElementById to find your control and change it as you would any HTML input control.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900