Click here to Skip to main content
15,913,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey all i am using a javascript datePicker and want to know how i can target an asp textbox. If i use a html textbox then i can get the id like this $('#textbox1') but i have to use an asp textbox, how can you do this? i tried $('<%= textbox.ClientID %>') but it doesnt work
Posted

1 solution

 
Share this answer
 
Comments
Ruwaldo 4-Oct-12 4:28am    
thanks for this but i found out how to do it...i used this line of code $("#"+"<%= TextBox1.ClientID %>")

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