Is there anyway to highlight the initial text in a textbox on a web page using C#? I know how to do this on windows forms but I can’t find any example of how to do it on a web page.
Any advice is appreciated.
Regards.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t do it using C#. Websites are not like windows forms, but you can do it using Javascript.
You should check out jQuery.